github.com/hernad/nomad@v1.6.112/ui/app/controllers/allocations/allocation/task.js (about) 1 /** 2 * Copyright (c) HashiCorp, Inc. 3 * SPDX-License-Identifier: MPL-2.0 4 */ 5 6 import Controller from '@ember/controller'; 7 8 export default class AllocationsAllocationTaskController extends Controller { 9 get task() { 10 return this.model; 11 } 12 13 get breadcrumb() { 14 return { 15 title: 'Task', 16 label: this.task.get('name'), 17 args: [ 18 'allocations.allocation.task', 19 this.task.get('allocation'), 20 this.task, 21 ], 22 }; 23 } 24 }