mirror of
https://github.com/PhaseII-eAmusement-Network/PhaseWeb3-Vue.git
synced 2026-09-12 03:05:15 -05:00
enable saving state on network
This commit is contained in:
@@ -84,6 +84,10 @@ export const useMainStore = defineStore("main", {
|
||||
loadingTimeout = setTimeout(() => {
|
||||
if (method === "GET") {
|
||||
this.isLoading = true;
|
||||
this.isSaving = false;
|
||||
} else if (method === "POST") {
|
||||
this.isLoading = true;
|
||||
this.isSaving = true;
|
||||
}
|
||||
}, 200); // Wait for .2 seconds before showing loading modal
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user