fix(marks): assign selectedMarkValue to currentValue and mark.value

This commit is contained in:
enes 2024-08-15 16:43:10 +02:00
parent a280e0a10f
commit 609fa4f513

View File

@ -119,7 +119,11 @@ const getUpdatedMark = (
return { return {
...selectedMark, ...selectedMark,
currentValue: selectedMarkValue, currentValue: selectedMarkValue,
isCompleted: !!selectedMarkValue isCompleted: !!selectedMarkValue,
mark: {
...selectedMark.mark,
value: selectedMarkValue
}
} }
} }