Skip to content

Commit

Permalink
Overview page: Fix defineVars is not working (#2673)
Browse files Browse the repository at this point in the history
Fixes #2046.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
  • Loading branch information
florian-h05 authored Jul 15, 2024
1 parent 0b2c42c commit 9791035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundles/org.openhab.ui/web/src/pages/home/overview-tab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit 9791035

Please sign in to comment.