UI: Fix blank secret on KV create > cancel (#22541)

This commit is contained in:
Chelsea Shaw
2023-08-23 17:45:45 -05:00
committed by GitHub
parent 925702de10
commit 0f8bde72a9
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

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