prevent storageModal to be closed after making changes

This commit is contained in:
marlon-erler
2024-07-21 20:24:59 +02:00
parent 331823f2ec
commit 3e91f28a76
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -2245,6 +2245,7 @@
hideStorageModal = () => { hideStorageModal = () => {
if (this.didMakeChanges.value == true) { if (this.didMakeChanges.value == true) {
window.location.reload(); window.location.reload();
return;
} }
this.isShowingStorageModal.value = false; this.isShowingStorageModal.value = false;
}; };
+1
View File
@@ -43,6 +43,7 @@ export default class StorageViewModel {
hideStorageModal = (): void => { hideStorageModal = (): void => {
if (this.didMakeChanges.value == true) { if (this.didMakeChanges.value == true) {
window.location.reload(); window.location.reload();
return;
} }
this.isShowingStorageModal.value = false; this.isShowingStorageModal.value = false;
}; };