mirror of
https://github.com/kemko/nomad.git
synced 2026-01-02 08:25:43 +03:00
25 lines
467 B
JavaScript
25 lines
467 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
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,
|
|
],
|
|
};
|
|
}
|
|
}
|