mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-29 14:41:09 +01:00
UI: Fix blank secret on KV create > cancel (#22541)
This commit is contained in:
parent
925702de10
commit
0f8bde72a9
3
changelog/22541.txt
Normal file
3
changelog/22541.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
```release-note:bug
|
||||||
|
ui: Fix blank page or ghost secret when canceling KV secret create
|
||||||
|
```
|
||||||
@ -346,6 +346,7 @@ export default Route.extend(UnloadModelRoute, {
|
|||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
version && version.rollbackAttributes();
|
version && version.rollbackAttributes();
|
||||||
|
model && model.rollbackAttributes();
|
||||||
this.unloadModel();
|
this.unloadModel();
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user