open-nomad/ui/app/controllers/jobs/job.js
2017-10-23 17:42:36 -07:00

16 lines
334 B
JavaScript

import Ember from 'ember';
const { Controller, computed } = Ember;
export default Controller.extend({
breadcrumbs: computed('model.{name,id}', function() {
return [
{ label: 'Jobs', args: ['jobs'] },
{
label: this.get('model.name'),
args: ['jobs.job', this.get('model')],
},
];
}),
});