mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Secret sync modal language and link change (#25849)
* change link and language on opt-in modal * use inline link * move to finally in case of failure * change to Secrets sync * amend title * one last
This commit is contained in:
@@ -79,10 +79,11 @@ export default class SyncSecretsDestinationsPageComponent extends Component<Args
|
||||
yield this.store
|
||||
.adapterFor('application')
|
||||
.ajax('/v1/sys/activation-flags/secrets-sync/activate', 'POST');
|
||||
this.showActivateSecretsSyncModal = false;
|
||||
this.router.transitionTo('vault.cluster.sync.secrets.overview');
|
||||
} catch (error) {
|
||||
this.flashMessages.danger(`Error enabling feature \n ${errorMessage(error)}`);
|
||||
} finally {
|
||||
this.showActivateSecretsSyncModal = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user