2021-11-30 20:10:01 +00:00
|
|
|
import Controller from '@ember/controller';
|
|
|
|
|
|
|
|
export default class AllocationsAllocationTaskController extends Controller {
|
|
|
|
get breadcrumbs() {
|
|
|
|
const model = this.model;
|
|
|
|
if (!model) return [];
|
|
|
|
return [
|
|
|
|
{
|
2021-12-16 14:40:43 +00:00
|
|
|
title: 'Task',
|
2021-11-30 20:10:01 +00:00
|
|
|
label: model.get('name'),
|
|
|
|
args: ['allocations.allocation.task', model.get('allocation'), model],
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|