open-nomad/ui/app/controllers/jobs/job/definition.js

12 lines
382 B
JavaScript
Raw Normal View History

import { alias } from '@ember/object/computed';
import Controller, { inject as controller } from '@ember/controller';
import WithNamespaceResetting from 'nomad-ui/mixins/with-namespace-resetting';
2017-09-19 14:47:10 +00:00
export default Controller.extend(WithNamespaceResetting, {
jobController: controller('jobs.job'),
2017-09-19 14:47:10 +00:00
job: alias('model.job'),
2017-09-19 14:47:10 +00:00
breadcrumbs: alias('jobController.breadcrumbs'),
2017-09-19 14:47:10 +00:00
});