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

13 lines
421 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'),
deployments: alias('model.deployments'),
breadcrumbs: alias('jobController.breadcrumbs'),
});