Skip to content

Commit

Permalink
fix: data merging
Browse files Browse the repository at this point in the history
  • Loading branch information
Grafikart committed Aug 30, 2024
1 parent 37305af commit e4fa616
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const onFinish = (
) => {
if (closed) {
const data = setValue(idSurvey, FieldNameEnum.ISCLOSED, true);
saveData(idSurvey, data ?? callbackHolder.getData(), false, true, data.stateData).then(() => {
saveData(idSurvey, { ...data, ...callbackHolder.getData() }, false, true).then(() => {
navigate(
getCurrentNavigatePath(
idSurvey,
Expand Down

0 comments on commit e4fa616

Please sign in to comment.