From 2f636df655af8393a8ccedcbf6d215a93e875835 Mon Sep 17 00:00:00 2001 From: lesion Date: Mon, 25 Sep 2023 22:45:34 +0200 Subject: [PATCH] minor --- vuetify.options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vuetify.options.js b/vuetify.options.js index a94141f1..70e27761 100644 --- a/vuetify.options.js +++ b/vuetify.options.js @@ -3,7 +3,7 @@ import { ca, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, ru, zhHans } from export default ({ res, nuxtState }) => { - const settings = process.server ? res.locals.settings : nuxtState.state.settings + const settings = process.server ? (res.locals.settings || {}) : nuxtState.state.settings || {} return { lang: { locales: { ca, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, ru, zhHans } },