mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-23 15:41:07 +02:00
* replace all injects with import syntax * Delete ui/app/components/identity/_popup-base.js
21 lines
559 B
JavaScript
21 lines
559 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import Route from '@ember/routing/route';
|
|
import { service } from '@ember/service';
|
|
|
|
export default class KubernetesErrorRoute extends Route {
|
|
@service secretMountPath;
|
|
|
|
setupController(controller) {
|
|
super.setupController(...arguments);
|
|
controller.breadcrumbs = [
|
|
{ label: 'secrets', route: 'secrets', linkExternal: true },
|
|
{ label: this.secretMountPath.currentPath, route: 'overview' },
|
|
];
|
|
controller.backend = this.modelFor('application');
|
|
}
|
|
}
|