mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-21 13:47:39 +02:00
feat: feedback score N/A (#10114)
This commit is contained in:
parent
d2233bc71d
commit
4e283dc579
@ -189,7 +189,10 @@ export const FeedbackList = () => {
|
||||
<Box>{experiment.commentCount} comments</Box>
|
||||
</Box>
|
||||
<AverageScore>
|
||||
{experiment.averageScore}/7
|
||||
{/* biome-ignore lint/suspicious/noGlobalIsNan: using isNaN to check if averageScore is not a number */}
|
||||
{isNaN(Number(experiment.averageScore))
|
||||
? 'N/A'
|
||||
: `${experiment.averageScore}/7`}
|
||||
</AverageScore>
|
||||
</ActiveExperimentCard>
|
||||
))
|
||||
|
Loading…
Reference in New Issue
Block a user