[bugfix]: use proper check for OS lyric existence

This commit is contained in:
Kendall Garner 2024-03-30 20:36:49 -07:00
parent a3573d4f9a
commit 918842e3a5
No known key found for this signature in database
GPG key ID: 18D2767419676C87

View file

@ -104,7 +104,7 @@ export const useSongLyricsBySong = (
})
.catch(console.error);
if (subsonicLyrics) {
if (subsonicLyrics?.length) {
return subsonicLyrics;
}
} else if (hasFeature(server, ServerFeature.LYRICS_SINGLE_STRUCTURED)) {