minor
This commit is contained in:
parent
d2759a55a5
commit
63d1d2ee53
1 changed files with 0 additions and 2 deletions
|
@ -73,10 +73,8 @@ export const actions = {
|
||||||
// this method is called server side only for each request for nuxt
|
// this method is called server side only for each request for nuxt
|
||||||
// we use it to get configuration from db, set locale, etc...
|
// we use it to get configuration from db, set locale, etc...
|
||||||
nuxtServerInit ({ commit }, { res, app }) {
|
nuxtServerInit ({ commit }, { res, app }) {
|
||||||
console.error('dentro nuxtServerInit ', res.locals)
|
|
||||||
if (res.locals && res.locals.settings) {
|
if (res.locals && res.locals.settings) {
|
||||||
commit('setSettings', res.locals.settings)
|
commit('setSettings', res.locals.settings)
|
||||||
console.error(`SETTINGS: ${res.locals.settings}`)
|
|
||||||
}
|
}
|
||||||
commit('setFilter', { type: 'show_recurrent',
|
commit('setFilter', { type: 'show_recurrent',
|
||||||
value: res.locals.settings.allow_recurrent_event && res.locals.settings.recurrent_event_visible })
|
value: res.locals.settings.allow_recurrent_event && res.locals.settings.recurrent_event_visible })
|
||||||
|
|
Loading…
Reference in a new issue