github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/controllers/allocations/allocation/task.js (about)

     1  import Controller from '@ember/controller';
     2  
     3  export default class AllocationsAllocationTaskController extends Controller {
     4    get task() {
     5      return this.model;
     6    }
     7  
     8    get breadcrumb() {
     9      return {
    10        title: 'Task',
    11        label: this.task.get('name'),
    12        args: [
    13          'allocations.allocation.task',
    14          this.task.get('allocation'),
    15          this.task,
    16        ],
    17      };
    18    }
    19  }