2018-08-15 00:29:51 +00:00
|
|
|
import Controller from '@ember/controller';
|
|
|
|
|
2020-06-10 13:49:16 +00:00
|
|
|
export default class RunController extends Controller {
|
2021-11-30 20:10:01 +00:00
|
|
|
breadcrumbs = [
|
|
|
|
{
|
|
|
|
label: 'Run',
|
|
|
|
args: ['jobs.run'],
|
|
|
|
},
|
|
|
|
];
|
|
|
|
|
2018-08-21 19:07:45 +00:00
|
|
|
onSubmit(id, namespace) {
|
|
|
|
this.transitionToRoute('jobs.job', id, {
|
2021-04-29 20:00:59 +00:00
|
|
|
queryParams: { namespace },
|
2018-08-21 19:07:45 +00:00
|
|
|
});
|
2020-06-10 13:49:16 +00:00
|
|
|
}
|
|
|
|
}
|