fix lyrics #144

Merged
Anri merged 1 commit from fix-lyrics into main 2024-08-12 23:15:04 +02:00
Showing only changes of commit 9719bf02c6 - Show all commits

View file

@ -144,7 +144,7 @@ export default {
}); });
} }
if (data && data.length > 0) { if (data && data.length > 0 && data[0].plainLyrics !== null) {
const title = data[0]; const title = data[0];
const limit_desc = 4096; const limit_desc = 4096;
const nb_embed = Math.ceil(title.plainLyrics.length / limit_desc); const nb_embed = Math.ceil(title.plainLyrics.length / limit_desc);