mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
minor
This commit is contained in:
parent
9f90df2bfc
commit
442f88f322
1 changed files with 2 additions and 2 deletions
|
@ -73,9 +73,9 @@ export const actions = {
|
||||||
nuxtServerInit ({ commit }, { res, app }) {
|
nuxtServerInit ({ commit }, { res, app }) {
|
||||||
if (res.locals && res.locals.settings) {
|
if (res.locals && res.locals.settings) {
|
||||||
commit('setSettings', res.locals.settings)
|
commit('setSettings', 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 })
|
||||||
|
}
|
||||||
|
|
||||||
commit('setLocalSetting', { key: 'hide_thumbs', value: app.$cookies.get('hide_thumbs') })
|
commit('setLocalSetting', { key: 'hide_thumbs', value: app.$cookies.get('hide_thumbs') })
|
||||||
commit('setLocalSetting', { key: 'theme.is_dark', value: app.$cookies.get('theme.is_dark') })
|
commit('setLocalSetting', { key: 'theme.is_dark', value: app.$cookies.get('theme.is_dark') })
|
||||||
|
|
Loading…
Reference in a new issue