v2 compatibility fixes

This commit is contained in:
Henry Jameson 2020-01-22 23:26:24 +02:00
parent c7f42b7799
commit 8de7eabd8f
5 changed files with 62 additions and 13 deletions

View file

@ -280,7 +280,7 @@ const afterStoreSetup = async ({ store, i18n }) => {
const customThemePresent = customThemeSource || customTheme
if (customThemePresent) {
if (customThemeSource && customThemeSource.version === CURRENT_VERSION) {
if (customThemeSource && customThemeSource.themeEngineVersion === CURRENT_VERSION) {
applyTheme(customThemeSource)
} else {
applyTheme(customTheme)