Skip to content

Commit

Permalink
fix(frontend): display score when value is 0 in evaluation numeric …
Browse files Browse the repository at this point in the history
…score vote
  • Loading branch information
bekossy committed Nov 10, 2024
1 parent 4a7557e commit cc46469
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ const NumericScoreVote: React.FC<NumericScoreVoteProps> = ({
>
<InputNumber
defaultValue={
value.find((item) => item.variantId === variant.variantId)?.score ||
value.find((item) => item.variantId === variant.variantId)?.score ??
undefined
}
min={min}
Expand Down

0 comments on commit cc46469

Please sign in to comment.