2017-09-19 14:47:10 +00:00
|
|
|
import Ember from 'ember';
|
2017-10-23 23:59:30 +00:00
|
|
|
import WithNamespaceResetting from 'nomad-ui/mixins/with-namespace-resetting';
|
2017-09-19 14:47:10 +00:00
|
|
|
|
|
|
|
const { Controller, computed, inject } = Ember;
|
|
|
|
|
2017-10-23 23:59:30 +00:00
|
|
|
export default Controller.extend(WithNamespaceResetting, {
|
2017-09-19 14:47:10 +00:00
|
|
|
jobController: inject.controller('jobs.job'),
|
|
|
|
|
|
|
|
job: computed.alias('model'),
|
|
|
|
deployments: computed.alias('model.deployments'),
|
|
|
|
|
|
|
|
breadcrumbs: computed.alias('jobController.breadcrumbs'),
|
|
|
|
});
|