mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 12:30:12 +02:00
hide detail rating column on zero value
This commit is contained in:
@@ -60,6 +60,7 @@ export function shouldShowHoverOnlyColumnContent(
|
||||
return (
|
||||
isRowHovered ||
|
||||
(columnId === TableColumn.USER_FAVORITE && song.userFavorite !== false) ||
|
||||
(columnId === TableColumn.USER_RATING && song.userRating != null)
|
||||
(columnId === TableColumn.USER_RATING &&
|
||||
(song.userRating !== null || song.userRating !== 0))
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user