diff --git a/frontend/src/components/Dashboard/ServiceTreeView.vue b/frontend/src/components/Dashboard/ServiceTreeView.vue index 8b3f37a3..20843dad 100644 --- a/frontend/src/components/Dashboard/ServiceTreeView.vue +++ b/frontend/src/components/Dashboard/ServiceTreeView.vue @@ -161,9 +161,16 @@ export default { this.treeData = treeData; }, getServiceStatus: async function (dateTime) { - this.isLoading = true; + let sec = null; - await this.$store.dispatch({ type: 'getServiceStatus', payload: dateTime }); + this.isLoading = true; + if (!dateTime) { + sec = ''; + } else { + sec = this.convertDateObjToSec(dateTime); + } + + await this.$store.dispatch({ type: 'getServiceStatus', payload: sec }); this.treeInitialize(); this.isLoading = false;