From d3b5a34e5f090d918b570edd2d734113739d431e Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Sat, 25 Nov 2023 11:13:30 +0100 Subject: [PATCH] add missing element for reconnecting --- backend/ui/fancy/showcase.js | 1 + backend/ui/showcase.js | 1 + frontend/src/client/appleMusic/index.js | 1 + frontend/src/client/showcase.js | 1 + 4 files changed, 4 insertions(+) diff --git a/backend/ui/fancy/showcase.js b/backend/ui/fancy/showcase.js index aa96003..6af6903 100644 --- a/backend/ui/fancy/showcase.js +++ b/backend/ui/fancy/showcase.js @@ -139,6 +139,7 @@ createApp( { }; source.onopen = () => { + this.isReconnecting = false; this.hasLoaded = true; }; diff --git a/backend/ui/showcase.js b/backend/ui/showcase.js index 5e78963..90796db 100644 --- a/backend/ui/showcase.js +++ b/backend/ui/showcase.js @@ -103,6 +103,7 @@ createApp( { }; source.onopen = () => { + this.isReconnecting = false; this.hasLoaded = true; if ( document.fonts.status === 'loaded' ) { document.getElementById( 'loading' ).classList.remove( 'loading' ); diff --git a/frontend/src/client/appleMusic/index.js b/frontend/src/client/appleMusic/index.js index 40d44cf..13bf7f1 100644 --- a/frontend/src/client/appleMusic/index.js +++ b/frontend/src/client/appleMusic/index.js @@ -641,6 +641,7 @@ const app = Vue.createApp( { }; source.onopen = () => { + this.isReconnecting = false; console.log( 'client notifier connected successfully' ); }; diff --git a/frontend/src/client/showcase.js b/frontend/src/client/showcase.js index 36e6279..fc99d19 100644 --- a/frontend/src/client/showcase.js +++ b/frontend/src/client/showcase.js @@ -138,6 +138,7 @@ createApp( { }; source.onopen = () => { + this.isReconnecting = false; this.hasLoaded = true; };