Skip to content

Commit

Permalink
Backport of UI: Fix blank secret on KV create > cancel
Browse files Browse the repository at this point in the history
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
  • Loading branch information
1 parent ca9e895 commit fc1297b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog/22541.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Fix blank page or ghost secret when canceling KV secret create
```
1 change: 1 addition & 0 deletions ui/app/routes/vault/cluster/secrets/backend/secret-edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ export default Route.extend(UnloadModelRoute, {
)
) {
version && version.rollbackAttributes();
model && model.rollbackAttributes();
this.unloadModel();
return true;
} else {
Expand Down

0 comments on commit fc1297b

Please sign in to comment.