Cleanup: webapp, reformat with Prettier

No functional changes.
This commit is contained in:
Sybren A. Stüvel 2023-09-04 14:10:29 +02:00
parent 0821df8f3a
commit eb11f10b9d

View File

@ -33,11 +33,13 @@
</div> </div>
<footer class="app-footer"> <footer class="app-footer">
<notification-bar /> <notification-bar />
<update-listener ref="updateListener" <update-listener
ref="updateListener"
mainSubscription="allWorkerTags" mainSubscription="allWorkerTags"
@workerTagUpdate="onSIOWorkerTagsUpdate" @workerTagUpdate="onSIOWorkerTagsUpdate"
@sioReconnected="onSIOReconnected" @sioReconnected="onSIOReconnected"
@sioDisconnected="onSIODisconnected" /> @sioDisconnected="onSIODisconnected"
/>
</footer> </footer>
</template> </template>
@ -68,8 +70,8 @@ import { useNotifs } from "@/stores/notifications";
import { WorkerMgtApi } from "@/manager-api"; import { WorkerMgtApi } from "@/manager-api";
import { WorkerTag } from "@/manager-api"; import { WorkerTag } from "@/manager-api";
import { getAPIClient } from "@/api-client"; import { getAPIClient } from "@/api-client";
import NotificationBar from '@/components/footer/NotificationBar.vue' import NotificationBar from "@/components/footer/NotificationBar.vue";
import UpdateListener from '@/components/UpdateListener.vue' import UpdateListener from "@/components/UpdateListener.vue";
export default { export default {
components: { components: {
@ -206,12 +208,10 @@ export default {
onSIOReconnected() { onSIOReconnected() {
this.fetchTags(); this.fetchTags();
}, },
onSIODisconnected(reason) { onSIODisconnected(reason) {},
},
onSIOWorkerTagsUpdate(workerTagsUpdate) { onSIOWorkerTagsUpdate(workerTagsUpdate) {
this.fetchTags(); this.fetchTags();
}, },
}, },
}; };
</script> </script>