fix(marks): assign selectedMarkValue to currentValue and mark.value
This commit is contained in:
parent
a280e0a10f
commit
609fa4f513
@ -119,7 +119,11 @@ const getUpdatedMark = (
|
||||
return {
|
||||
...selectedMark,
|
||||
currentValue: selectedMarkValue,
|
||||
isCompleted: !!selectedMarkValue
|
||||
isCompleted: !!selectedMarkValue,
|
||||
mark: {
|
||||
...selectedMark.mark,
|
||||
value: selectedMarkValue
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user