diff --git a/changelog/22541.txt b/changelog/22541.txt new file mode 100644 index 000000000..918af3eac --- /dev/null +++ b/changelog/22541.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: Fix blank page or ghost secret when canceling KV secret create +``` diff --git a/ui/app/routes/vault/cluster/secrets/backend/secret-edit.js b/ui/app/routes/vault/cluster/secrets/backend/secret-edit.js index 90cbf8c8e..1e2432054 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/secret-edit.js +++ b/ui/app/routes/vault/cluster/secrets/backend/secret-edit.js @@ -342,6 +342,7 @@ export default Route.extend(UnloadModelRoute, { ) ) { version && version.rollbackAttributes(); + model && model.rollbackAttributes(); this.unloadModel(); return true; } else {