mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
@@ -9,17 +9,10 @@ const SHOW_ROUTE = 'vault.cluster.secrets.backend.show';
|
||||
export default class DatabaseRoleEdit extends Component {
|
||||
@service router;
|
||||
@service flashMessages;
|
||||
@service wizard;
|
||||
@service store;
|
||||
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
if (
|
||||
this.wizard.featureState === 'displayConnection' ||
|
||||
this.wizard.featureState === 'displayRoleDatabase'
|
||||
) {
|
||||
this.wizard.transitionFeatureMachine(this.wizard.featureState, 'CONTINUE', 'database');
|
||||
}
|
||||
if (this.args.initialKey) {
|
||||
this.args.model.database = [this.args.initialKey];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user