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

14 lines
407 B
JavaScript
Raw Normal View History

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