mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Backport of UI: Fix blank secret on KV create > cancel
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ca9e8951b0
commit
fc1297bf6e
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
|
||||||
|
```
|
||||||
@@ -342,6 +342,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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user