Fix current song row when queue is empty

This commit is contained in:
jeffvli 2023-10-22 15:56:38 -07:00
parent 452ef783f2
commit 86fb52f6d4
2 changed files with 7 additions and 1 deletions

View file

@ -40,6 +40,7 @@ export const useCurrentSongRowStyles = ({ tableRef }: UseCurrentSongRowStylesPro
return {
'current-song': (params) => {
return (
currentSong?.id !== undefined &&
params?.data?.id === currentSong?.id &&
params?.data?.albumId === currentSong?.albumId
);