open-nomad/ui/app/controllers/jobs/job.js

16 lines
334 B
JavaScript
Raw Normal View History

2017-09-19 14:47:10 +00:00
import Ember from 'ember';
const { Controller, computed } = Ember;
export default Controller.extend({
breadcrumbs: computed('model.{name,id}', function() {
return [
{ label: 'Jobs', args: ['jobs'] },
2017-10-23 17:27:22 +00:00
{
label: this.get('model.name'),
args: ['jobs.job', this.get('model')],
},
2017-09-19 14:47:10 +00:00
];
}),
});