Merge branch '483-fix-undefined-reading-base-issue' into 'dev'
fix undefined reading base issue See merge request keanuapp/keanuapp-weblite!194
This commit is contained in:
commit
1a336e8357
1 changed files with 7 additions and 3 deletions
|
|
@ -181,10 +181,14 @@ const vueInstance = new Vue({
|
||||||
audioPlayer,
|
audioPlayer,
|
||||||
render: h => h(App),
|
render: h => h(App),
|
||||||
});
|
});
|
||||||
vueInstance.$vuetify.theme.themes.light.primary = vueInstance.$config.accentColor;
|
if (vueInstance.$config.accentColor) {
|
||||||
|
vueInstance.$vuetify.theme.themes.light.primary = vueInstance.$config.accentColor;
|
||||||
|
}
|
||||||
vueInstance.$audioPlayer.$root = vueInstance; // Make sure a $root is available here
|
vueInstance.$audioPlayer.$root = vueInstance; // Make sure a $root is available here
|
||||||
configLoadedPromise.then((config) => {
|
configLoadedPromise.then((config) => {
|
||||||
vueInstance.$vuetify.theme.themes.light.primary = config.accentColor;
|
if (config.accentColor) {
|
||||||
|
vueInstance.$vuetify.theme.themes.light.primary = config.accentColor;
|
||||||
|
}
|
||||||
vueInstance.$mount('#app');
|
vueInstance.$mount('#app');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue