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:07:53 -04:00 committed by GitHub
parent c7ede64578
commit a5f177f430
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

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