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

13 lines
421 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'),
deployments: alias('model.deployments'),
2017-09-19 14:47:10 +00:00
breadcrumbs: alias('jobController.breadcrumbs'),
2017-09-19 14:47:10 +00:00
});