mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
set first item of track radio to the triggering item
This commit is contained in:
@@ -38,7 +38,7 @@ export const PlayTrackRadioAction = ({ disabled, song }: PlayTrackRadioActionPro
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (similarSongs && similarSongs.length > 0) {
|
if (similarSongs && similarSongs.length > 0) {
|
||||||
player.addToQueueByData(similarSongs, playType);
|
player.addToQueueByData([song, ...similarSongs], playType);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Failed to load track radio:', error);
|
console.error('Failed to load track radio:', error);
|
||||||
|
|||||||
Reference in New Issue
Block a user