mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 18:13:31 +00:00
always add all artists to subsonic
This commit is contained in:
parent
e84a4b20bc
commit
c376293f2f
1 changed files with 4 additions and 3 deletions
|
|
@ -776,9 +776,10 @@ export const SubsonicController: ControllerEndpoint = {
|
|||
}
|
||||
|
||||
const final: Array<string | { label: string; value: string }> = Array.from(roles).sort();
|
||||
if (final.length > 0) {
|
||||
final.splice(0, 0, { label: 'all artists', value: '' });
|
||||
}
|
||||
// Always add 'all artist' filter, even if there are no other roles
|
||||
// This is relevant when switching from a server which has roles to one with
|
||||
// no roles.
|
||||
final.splice(0, 0, { label: 'all artists', value: '' });
|
||||
return final;
|
||||
},
|
||||
getServerInfo: async (args) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue