mirror of
https://github.com/PhaseII-eAmusement-Network/PhaseWeb3-Vue.git
synced 2026-07-20 09:43:16 -05:00
enable saving state on network
This commit is contained in:
parent
248b6f9d89
commit
4ca55178ce
|
|
@ -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
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user