mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-24 12:30:38 -04:00
[web] Fix hiding singles in artists and albums views
This commit is contained in:
parent
8f934ec690
commit
e5a87d0396
@ -142,7 +142,7 @@ export default {
|
|||||||
(o) => o.name === this.selected_groupby_option_name
|
(o) => o.name === this.selected_groupby_option_name
|
||||||
)
|
)
|
||||||
this.albums_list.group(groupBy.options, [
|
this.albums_list.group(groupBy.options, [
|
||||||
(album) => !this.hide_singles || album.track_count <= 2,
|
(album) => !this.hide_singles || album.track_count > 2,
|
||||||
(album) => !this.hide_spotify || album.data_kind !== 'spotify'
|
(album) => !this.hide_spotify || album.data_kind !== 'spotify'
|
||||||
])
|
])
|
||||||
|
|
||||||
|
@ -142,7 +142,7 @@ export default {
|
|||||||
)
|
)
|
||||||
this.artists_list.group(groupBy.options, [
|
this.artists_list.group(groupBy.options, [
|
||||||
(artist) =>
|
(artist) =>
|
||||||
!this.hide_singles || artist.track_count <= artist.album_count * 2,
|
!this.hide_singles || artist.track_count > artist.album_count * 2,
|
||||||
(artist) => !this.hide_spotify || artist.data_kind !== 'spotify'
|
(artist) => !this.hide_spotify || artist.data_kind !== 'spotify'
|
||||||
])
|
])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user