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

15 lines
352 B
JavaScript

import Controller from '@ember/controller';
import { computed } from '@ember/object';
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')],
},
];
}),
});