From 97910353fd9c357b7f592c3c56f46fca1d7d302c Mon Sep 17 00:00:00 2001 From: Florian Hotze Date: Mon, 15 Jul 2024 20:26:18 +0200 Subject: [PATCH] Overview page: Fix `defineVars` is not working (#2673) Fixes #2046. Signed-off-by: Florian Hotze --- bundles/org.openhab.ui/web/src/pages/home/overview-tab.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.ui/web/src/pages/home/overview-tab.vue b/bundles/org.openhab.ui/web/src/pages/home/overview-tab.vue index a8910d6e8..47b50ad62 100644 --- a/bundles/org.openhab.ui/web/src/pages/home/overview-tab.vue +++ b/bundles/org.openhab.ui/web/src/pages/home/overview-tab.vue @@ -78,7 +78,7 @@ export default { return { component: this.overviewPage, store: this.context.store, - vars: {} + vars: (this.overviewPage && this.overviewPage.config && this.overviewPage.config.defineVars) ? this.overviewPage.config.defineVars : {} } }, pageStyle () {