mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-24 12:11:11 +01:00
* replace all injects with import syntax * Delete ui/app/components/identity/_popup-base.js
30 lines
956 B
JavaScript
30 lines
956 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 PkiRolesErrorRoute extends Route {
|
|
@service secretMountPath;
|
|
|
|
setupController(controller) {
|
|
super.setupController(...arguments);
|
|
controller.breadcrumbs = [
|
|
{ label: 'secrets', route: 'secrets', linkExternal: true },
|
|
{ label: this.secretMountPath.currentPath, route: 'overview' },
|
|
];
|
|
controller.tabs = [
|
|
{ label: 'Overview', route: 'overview' },
|
|
{ label: 'Roles', route: 'roles.index' },
|
|
{ label: 'Issuers', route: 'issuers.index' },
|
|
{ label: 'Keys', route: 'keys.index' },
|
|
{ label: 'Certificates', route: 'certificates.index' },
|
|
{ label: 'Tidy', route: 'tidy.index' },
|
|
{ label: 'Configuration', route: 'configuration.index' },
|
|
];
|
|
controller.title = this.secretMountPath.currentPath;
|
|
}
|
|
}
|