[web] Format source code

This commit is contained in:
Alain Nussbaumer 2024-02-24 11:46:24 +01:00
parent fa5b467922
commit d0e701e140

View File

@ -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
}
}