open-nomad/ui/app/controllers/allocations/allocation/task.js
2022-01-20 10:39:02 -05:00

20 lines
388 B
JavaScript

import Controller from '@ember/controller';
export default class AllocationsAllocationTaskController extends Controller {
get task() {
return this.model;
}
get breadcrumb() {
return {
title: 'Task',
label: this.task.get('name'),
args: [
'allocations.allocation.task',
this.task.get('allocation'),
this.task,
],
};
}
}