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