diff --git a/src/App.vue b/src/App.vue index 2e43135..9fdddc8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -13,7 +13,9 @@ const router = useRouter(); const wsClient = createWebSocket(sharedWsUrl); wsClient.dataOb.subscribe(data => { - if (data.type === "status") { + if (data.type === "ing") { + equipmentStatusStore.setWorkStatus(data.data.workStatus); + } else if (data.type === "status") { equipmentStatusStore.setEquipmentStatus(data["data"]); } else if (data.type === "warn") { if (data.data.code === "wash_complete") { diff --git a/src/components/FooterBar.vue b/src/components/FooterBar.vue index e6895f5..229d5a8 100644 --- a/src/components/FooterBar.vue +++ b/src/components/FooterBar.vue @@ -1,7 +1,12 @@