Overview page: Fix `defineVars` is not working (#2673)

Fixes #2046.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
pull/2659/head^2
Florian Hotze 2024-07-15 20:26:18 +02:00 committed by GitHub
parent 0b2c42cfed
commit 97910353fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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 () {