diff --git a/frontend/src/components/home/ContentAuth.vue b/frontend/src/components/home/ContentAuth.vue index cceb8a48d..e61cef332 100644 --- a/frontend/src/components/home/ContentAuth.vue +++ b/frontend/src/components/home/ContentAuth.vue @@ -86,6 +86,7 @@ import {useProjectStore} from '@/stores/projects' import {useRouteWithModal} from '@/composables/useRouteWithModal' import {useRenewTokenOnFocus} from '@/composables/useRenewTokenOnFocus' import {useSidebarResize} from '@/composables/useSidebarResize' +import {useWebSocket} from '@/composables/useWebSocket' import {useAuthStore} from '@/stores/auth' const authStore = useAuthStore() @@ -136,6 +137,9 @@ watch(() => route.name as string, (routeName) => { useRenewTokenOnFocus() +const {connect} = useWebSocket() +connect() + const labelStore = useLabelStore() labelStore.loadAllLabels() diff --git a/frontend/src/components/notifications/Notifications.vue b/frontend/src/components/notifications/Notifications.vue index ca4e5264e..c8e702142 100644 --- a/frontend/src/components/notifications/Notifications.vue +++ b/frontend/src/components/notifications/Notifications.vue @@ -83,10 +83,11 @@