1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-30 13:14:20 +00:00

intégration des cinq royaumes

This commit is contained in:
Maxime Moraine 2020-06-10 10:30:32 +02:00
parent 62cf701300
commit 29a950bc72
25 changed files with 866 additions and 43 deletions

View file

@ -104,12 +104,16 @@ export default {
this.cookieConsentDialog = false
}
// Cookie consent
// Dark theme
const THEMEISDARK = Cookies.get('heros-et-dragons-is-dark')
if (THEMEISDARK === 'true') {
this.$vuetify.theme.dark = true
}
// Variante 5 royaumes pour les monstres
const L5R = Cookies.get('heros-et-dragons-l5r')
this.$store.state.l5r = L5R
// Chargement des donées utilisateur depuis le navigateur
this.$store.commit('mySpells/initialiseStore')
this.$store.commit('myMonsters/initialiseStore')