fix cache being used even if no cache exists

This commit is contained in:
Henry Jameson 2024-11-17 15:57:32 +02:00
parent 41f5ae30f1
commit 098879be3e

View file

@ -344,7 +344,7 @@ const interfaceMod = {
} = rootState.config } = rootState.config
const forceRecompile = forceThemeRecompilation || recompile const forceRecompile = forceThemeRecompilation || recompile
if (!forceRecompile && !themeDebug && tryLoadCache()) { if (!forceRecompile && !themeDebug && await tryLoadCache()) {
return commit('setThemeApplied') return commit('setThemeApplied')
} }