mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
hide detail rating column on zero value
This commit is contained in:
@@ -60,6 +60,7 @@ export function shouldShowHoverOnlyColumnContent(
|
|||||||
return (
|
return (
|
||||||
isRowHovered ||
|
isRowHovered ||
|
||||||
(columnId === TableColumn.USER_FAVORITE && song.userFavorite !== false) ||
|
(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