Set $matrix variable inside Vuex store

This commit is contained in:
N-Pex 2025-05-12 12:39:22 +02:00
parent 96ef4885d6
commit fba172d5cf
2 changed files with 6 additions and 3 deletions

View file

@ -184,6 +184,9 @@ app.config.globalProperties.$i18n = i18n;
app.use(matrix, { store: store, i18n: i18n });
// Set $matrix inside data store
store.$matrix = app.$matrix;
if (app.$config.accentColor) {
app.$vuetify.theme.themes.light.primary = app.$config.accentColor;
}