also send reload in case we're on the root already
This commit is contained in:
parent
0754662226
commit
08ef32d332
|
@ -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');
|
||||
});
|
||||
},
|
||||
},
|
||||
|
|
|
@ -52,11 +52,13 @@
|
|||
Details
|
||||
</SecretLink>
|
||||
</li>
|
||||
{{!-- // will add a link to the history view once it exists
|
||||
{{#if backendModel.isV2KV}}
|
||||
<li class="action">
|
||||
Verion History
|
||||
</li>
|
||||
{{/if}}
|
||||
--}}
|
||||
{{/if}}
|
||||
{{#if item.canEdit}}
|
||||
<li class="action">
|
||||
|
|
Loading…
Reference in New Issue