Skip to content

Commit

Permalink
Revert Vuex change
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
  • Loading branch information
florian-h05 committed Dec 5, 2023
1 parent f6b09bb commit 3340e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundles/org.openhab.ui/web/src/js/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) {
Expand Down

0 comments on commit 3340e4d

Please sign in to comment.