fix lyrics (#144)
All checks were successful
Publish latest version / build (push) Successful in 1m31s
All checks were successful
Publish latest version / build (push) Successful in 1m31s
dont crash when there is not lyrics Reviewed-on: #144 Co-authored-by: Mylloon <kennel.anri@tutanota.com> Co-committed-by: Mylloon <kennel.anri@tutanota.com>
This commit is contained in:
parent
fe38841bf6
commit
8f9cdbe753
1 changed files with 1 additions and 1 deletions
|
@ -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 limit_desc = 4096;
|
||||
const nb_embed = Math.ceil(title.plainLyrics.length / limit_desc);
|
||||
|
|
Loading…
Reference in a new issue