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

16 lines
381 B
JavaScript
Raw Normal View History

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