github.com/hernad/nomad@v1.6.112/ui/app/controllers/csi/plugins/plugin.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 CsiPluginsPluginController extends Controller { 9 get plugin() { 10 return this.model; 11 } 12 13 get breadcrumbs() { 14 const { plainId } = this.plugin; 15 return [ 16 { 17 label: 'Plugins', 18 args: ['csi.plugins'], 19 }, 20 { 21 label: plainId, 22 args: ['csi.plugins.plugin', plainId], 23 }, 24 ]; 25 } 26 }