7abf621441
And reload jobs for the new namespace.
14 lines
413 B
JavaScript
14 lines
413 B
JavaScript
import Ember from 'ember';
|
|
import WithNamespaceResetting from 'nomad-ui/mixins/with-namespace-resetting';
|
|
|
|
const { Controller, computed, inject } = Ember;
|
|
|
|
export default Controller.extend(WithNamespaceResetting, {
|
|
jobController: inject.controller('jobs.job'),
|
|
|
|
job: computed.alias('model'),
|
|
deployments: computed.alias('model.deployments'),
|
|
|
|
breadcrumbs: computed.alias('jobController.breadcrumbs'),
|
|
});
|