open-nomad/ui/app/controllers/csi/plugins/plugin.js
2021-12-23 12:41:52 -05:00

22 lines
406 B
JavaScript

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],
},
];
}
}