mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05: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
|
||||
)
|
||||
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'
|
||||
])
|
||||
|
||||
|
@ -142,7 +142,7 @@ export default {
|
||||
)
|
||||
this.artists_list.group(groupBy.options, [
|
||||
(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'
|
||||
])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user