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:
hc-github-team-secure-vault-core
2023-08-23 19:03:24 -04:00
committed by GitHub
parent 5a9b9ac819
commit d2295e050d
2 changed files with 4 additions and 0 deletions

3
changelog/22541.txt Normal file
View File

@@ -0,0 +1,3 @@
```release-note:bug
ui: Fix blank page or ghost secret when canceling KV secret create
```

View File

@@ -337,6 +337,7 @@ export default Route.extend(UnloadModelRoute, {
)
) {
version && version.rollbackAttributes();
model && model.rollbackAttributes();
this.unloadModel();
return true;
} else {