prevent storageModal to be closed after making changes
This commit is contained in:
Vendored
+1
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user