Skip to content

Commit

Permalink
[web] Format source code
Browse files Browse the repository at this point in the history
  • Loading branch information
hacketiwack committed Feb 24, 2024
1 parent fa5b467 commit d0e701e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions web-src/src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit d0e701e

Please sign in to comment.