From 3340e4d8ed688817ff4d899364e102a250441e94 Mon Sep 17 00:00:00 2001 From: Florian Hotze Date: Tue, 5 Dec 2023 23:34:54 +0100 Subject: [PATCH] Revert Vuex change Signed-off-by: Florian Hotze --- bundles/org.openhab.ui/web/src/js/store/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.ui/web/src/js/store/index.js b/bundles/org.openhab.ui/web/src/js/store/index.js index 4de941a47c..a7c5da56e1 100644 --- a/bundles/org.openhab.ui/web/src/js/store/index.js +++ b/bundles/org.openhab.ui/web/src/js/store/index.js @@ -28,7 +28,7 @@ const store = new Vuex.Store({ }, getters: { apiEndpoint: (state) => (type) => (!state.apiEndpoints) ? null : state.apiEndpoints.find((e) => e.type === type), - locale: (state) => state.locale ?? 'default' + locale: (state, getters) => state.locale ?? 'default' }, mutations: { setRootResource (state, { rootResponse }) {