diff --git a/src/stores/CustomerStore.js b/src/stores/CustomerStore.js index c4f67cb..8c6525b 100644 --- a/src/stores/CustomerStore.js +++ b/src/stores/CustomerStore.js @@ -426,7 +426,6 @@ class CustomerStore { .then((response) => response.json()) .then((json) => { runInAction(() => { - this.host_case_data.loading = false; switch(groupBy){ case "1": this.host_case_data.summaryData = json.result?json.result:[]; @@ -439,6 +438,7 @@ class CustomerStore { break; case "4": this.host_case_data.singleDetailData = json.result?json.result:[]; + this.host_case_data.loading = false; break; } });