open-nomad/ui/app/controllers/allocations/allocation/task.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
388 B
JavaScript
Raw Normal View History

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'),
2022-01-20 15:39:02 +00:00
args: [
'allocations.allocation.task',
this.task.get('allocation'),
this.task,
],
};
}
}