diff --git a/dist/index.js b/dist/index.js index 029ef3ef..c6ffa527 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2245,6 +2245,7 @@ hideStorageModal = () => { if (this.didMakeChanges.value == true) { window.location.reload(); + return; } this.isShowingStorageModal.value = false; }; diff --git a/src/ViewModel/storageViewModel.ts b/src/ViewModel/storageViewModel.ts index 9f3951b2..9a8b5b38 100644 --- a/src/ViewModel/storageViewModel.ts +++ b/src/ViewModel/storageViewModel.ts @@ -43,6 +43,7 @@ export default class StorageViewModel { hideStorageModal = (): void => { if (this.didMakeChanges.value == true) { window.location.reload(); + return; } this.isShowingStorageModal.value = false; };