open-nomad/ui/app/controllers/jobs/job/versions.js
2018-01-17 09:02:04 -08:00

13 lines
415 B
JavaScript

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