From 442f88f3221e0d5856aeb3a096c781135e68ef56 Mon Sep 17 00:00:00 2001 From: lesion Date: Wed, 22 Mar 2023 16:49:37 +0100 Subject: [PATCH] minor --- store/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/store/index.js b/store/index.js index f0865186..25b2938d 100644 --- a/store/index.js +++ b/store/index.js @@ -73,9 +73,9 @@ export const actions = { nuxtServerInit ({ commit }, { res, app }) { if (res.locals && res.locals.settings) { commit('setSettings', res.locals.settings) + commit('setFilter', { type: 'show_recurrent', + value: res.locals.settings.allow_recurrent_event && res.locals.settings.recurrent_event_visible }) } - commit('setFilter', { type: 'show_recurrent', - 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: 'theme.is_dark', value: app.$cookies.get('theme.is_dark') })