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;
|
const name = item.id;
|
||||||
item.destroyRecord().then(() => {
|
item.destroyRecord().then(() => {
|
||||||
this.get('flashMessages').success(`${name} was successfully deleted.`);
|
this.get('flashMessages').success(`${name} was successfully deleted.`);
|
||||||
|
this.send('reload');
|
||||||
if (type === 'secret') {
|
if (type === 'secret') {
|
||||||
return this.transitionToRoute('vault.cluster.secrets.backend.list-root');
|
return this.transitionToRoute('vault.cluster.secrets.backend.list-root');
|
||||||
}
|
}
|
||||||
this.send('reload');
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -52,11 +52,13 @@
|
||||||
Details
|
Details
|
||||||
</SecretLink>
|
</SecretLink>
|
||||||
</li>
|
</li>
|
||||||
|
{{!-- // will add a link to the history view once it exists
|
||||||
{{#if backendModel.isV2KV}}
|
{{#if backendModel.isV2KV}}
|
||||||
<li class="action">
|
<li class="action">
|
||||||
Verion History
|
Verion History
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
--}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if item.canEdit}}
|
{{#if item.canEdit}}
|
||||||
<li class="action">
|
<li class="action">
|
||||||
|
|
Loading…
Reference in a new issue