diff --git a/store/index.js b/store/index.js index 851348fb..044eb94f 100644 --- a/store/index.js +++ b/store/index.js @@ -50,8 +50,10 @@ export const actions = { // we use it to get configuration from db, set locale, etc... nuxtServerInit ({ commit }, { req }) { commit('setSettings', req.settings) - commit('setAnnouncements', req.announcements) - commit('update', req.meta) + if (!req.firstrun) { + commit('setAnnouncements', req.announcements) + commit('update', req.meta) + } }, async updateAnnouncements ({ commit }) { const announcements = await this.$axios.$get('/announcements')