omit song from similar list, handle subsonic error

This commit is contained in:
Kendall Garner 2024-02-19 10:09:05 -08:00
parent f81bea339b
commit 3a116e938e
No known key found for this signature in database
GPG key ID: 18D2767419676C87
4 changed files with 24 additions and 8 deletions

View file

@ -71,7 +71,7 @@ export const SimilarSongsList = ({ count, fullScreen, song }: SimilarSongsListPr
deselectOnClickOutside={fullScreen}
getRowId={(data) => data.data.uniqueId}
rowBuffer={50}
rowData={songQuery.data}
rowData={songQuery.data ?? []}
rowHeight={tableConfig.rowHeight || 40}
onCellContextMenu={onCellContextMenu}
onCellDoubleClicked={handleRowDoubleClick}