mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 17:05:43 +03:00
27 lines
485 B
JavaScript
27 lines
485 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import Controller from '@ember/controller';
|
|
|
|
export default class CsiPluginsPluginController extends Controller {
|
|
get plugin() {
|
|
return this.model;
|
|
}
|
|
|
|
get breadcrumbs() {
|
|
const { plainId } = this.plugin;
|
|
return [
|
|
{
|
|
label: 'Plugins',
|
|
args: ['csi.plugins'],
|
|
},
|
|
{
|
|
label: plainId,
|
|
args: ['csi.plugins.plugin', plainId],
|
|
},
|
|
];
|
|
}
|
|
}
|