From 08ebc756214abfd8ca117206a0df78466e56784f Mon Sep 17 00:00:00 2001 From: Yannick Schaus Date: Tue, 12 Oct 2021 20:16:09 +0200 Subject: [PATCH] Fix home page initialization logic Regressions were introduced with #1055 where the state tracker wouldn't be started after going back to the home page from another page. Also add a preloader which should only be displayed the first time. Should fix #1161. Signed-off-by: Yannick Schaus --- bundles/org.openhab.ui/web/src/pages/home.vue | 29 ++++++++++++------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/bundles/org.openhab.ui/web/src/pages/home.vue b/bundles/org.openhab.ui/web/src/pages/home.vue index 7d94b71a9f..ccaafe276d 100644 --- a/bundles/org.openhab.ui/web/src/pages/home.vue +++ b/bundles/org.openhab.ui/web/src/pages/home.vue @@ -1,5 +1,5 @@