7abf621441
And reload jobs for the new namespace.
14 lines
407 B
JavaScript
14 lines
407 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'),
|
|
versions: computed.alias('model.versions'),
|
|
|
|
breadcrumbs: computed.alias('jobController.breadcrumbs'),
|
|
});
|