From: Michael Tremer Date: Fri, 4 Jul 2025 14:57:24 +0000 (+0000) Subject: frontend: Create a WebSocket which listens to events X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=475cf0218078e6380f4ccbcbd24892b1a98e18ed;p=pbs.git frontend: Create a WebSocket which listens to events Signed-off-by: Michael Tremer --- diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 53ccde72..0fcc303d 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -5,6 +5,10 @@ import { useAuth } from "@/composables/auth"; const auth = useAuth(); + // Events + import { useEvents } from "@/composables/events" + const { isConnected } = useEvents() + // Current Timestamp const now = new Date(); @@ -32,6 +36,10 @@