diff --git a/ui/app/controllers/vault/cluster/secrets/backend/list.js b/ui/app/controllers/vault/cluster/secrets/backend/list.js index f82de425d..67e80153d 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/list.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/list.js @@ -69,10 +69,10 @@ export default Controller.extend(BackendCrumbMixin, { const name = item.id; item.destroyRecord().then(() => { this.get('flashMessages').success(`${name} was successfully deleted.`); + this.send('reload'); if (type === 'secret') { return this.transitionToRoute('vault.cluster.secrets.backend.list-root'); } - this.send('reload'); }); }, }, diff --git a/ui/app/templates/partials/secret-list/item.hbs b/ui/app/templates/partials/secret-list/item.hbs index 342a5e20f..8c60ef384 100644 --- a/ui/app/templates/partials/secret-list/item.hbs +++ b/ui/app/templates/partials/secret-list/item.hbs @@ -52,11 +52,13 @@ Details + {{!-- // will add a link to the history view once it exists {{#if backendModel.isV2KV}}