From d0e701e1403b689396bcd170b083a2c46a7fb788 Mon Sep 17 00:00:00 2001 From: Alain Nussbaumer Date: Sat, 24 Feb 2024 11:46:24 +0100 Subject: [PATCH] [web] Format source code --- web-src/src/store/index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web-src/src/store/index.js b/web-src/src/store/index.js index 654387df96..410c0cfde9 100644 --- a/web-src/src/store/index.js +++ b/web-src/src/store/index.js @@ -268,13 +268,13 @@ export default createStore({ state.notifications.list.splice(index, 1) } }, - update_settings_option({commit, state}, option) { + update_settings_option({ commit, state }, option) { const settingCategory = state.settings.categories.find( - (e) => e.name === option.category - ), - settingOption = settingCategory.options.find( - (e) => e.name === option.name - ) + (e) => e.name === option.category + ), + settingOption = settingCategory.options.find( + (e) => e.name === option.name + ) settingOption.value = option.value } }