mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 08:15:02 -05:00
[web] Format source code
This commit is contained in:
parent
fa5b467922
commit
d0e701e140
@ -268,13 +268,13 @@ export default createStore({
|
|||||||
state.notifications.list.splice(index, 1)
|
state.notifications.list.splice(index, 1)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
update_settings_option({commit, state}, option) {
|
update_settings_option({ commit, state }, option) {
|
||||||
const settingCategory = state.settings.categories.find(
|
const settingCategory = state.settings.categories.find(
|
||||||
(e) => e.name === option.category
|
(e) => e.name === option.category
|
||||||
),
|
),
|
||||||
settingOption = settingCategory.options.find(
|
settingOption = settingCategory.options.find(
|
||||||
(e) => e.name === option.name
|
(e) => e.name === option.name
|
||||||
)
|
)
|
||||||
settingOption.value = option.value
|
settingOption.value = option.value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user