fix ealy return

This commit is contained in:
SrGooglo 2023-08-22 23:40:30 +00:00
parent 6c804800c0
commit cea6987f72

View File

@ -37,7 +37,10 @@ export default class MusicModel {
}, },
async () => { async () => {
if (!useTidal) { if (!useTidal) {
return [] return {
total_length: 0,
tracks: [],
}
} }
const tidalResult = await SyncModel.tidalCore.getMyFavoriteTracks({ const tidalResult = await SyncModel.tidalCore.getMyFavoriteTracks({