github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/controllers/csi/plugins/plugin.js (about) 1 import Controller from '@ember/controller'; 2 3 export default class CsiPluginsPluginController extends Controller { 4 get plugin() { 5 return this.model; 6 } 7 8 get breadcrumbs() { 9 const { plainId } = this.plugin; 10 return [ 11 { 12 label: 'Plugins', 13 args: ['csi.plugins'], 14 }, 15 { 16 label: plainId, 17 args: ['csi.plugins.plugin', plainId], 18 }, 19 ]; 20 } 21 }