Skip to content

Commit

Permalink
[web] Lint source code
Browse files Browse the repository at this point in the history
  • Loading branch information
hacketiwack committed Mar 26, 2024
1 parent a449e7a commit 99caa61
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web-src/src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ export default createStore({
getters: {
now_playing: (state) =>
state.queue.items.find((e) => e.id === state.player.item_id) ?? {},
settings_option_recently_added_limit: (state, getters) =>
getters.settings_webinterface?.options.find(
(option) => option.name === 'recently_added_limit'
)?.value ?? 100,
settings_option: (state) => (categoryName, optionName) =>
state.settings.categories
.find((category) => category.name === categoryName)
?.options.find((option) => option.name === optionName) ?? {},
settings_option_recently_added_limit: (state, getters) =>
getters.settings_webinterface?.options.find(
(option) => option.name === 'recently_added_limit'
)?.value ?? 100,
settings_option_show_composer_for_genre: (state, getters) =>
getters.settings_webinterface?.options.find(
(option) => option.name === 'show_composer_for_genre'
Expand Down

0 comments on commit 99caa61

Please sign in to comment.