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:
parent
c7ede64578
commit
a5f177f430
|
@ -0,0 +1,3 @@
|
|||
```release-note:bug
|
||||
ui: Fix blank page or ghost secret when canceling KV secret create
|
||||
```
|
|
@ -342,6 +342,7 @@ export default Route.extend(UnloadModelRoute, {
|
|||
)
|
||||
) {
|
||||
version && version.rollbackAttributes();
|
||||
model && model.rollbackAttributes();
|
||||
this.unloadModel();
|
||||
return true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue