Skip to content

Commit

Permalink
FIO-4861: fixed restored revision node (formio#4692)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria-Golomb authored May 4, 2022
1 parent 13ee6f5 commit 8868cbe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Webform.js
Original file line number Diff line number Diff line change
Expand Up @@ -1458,9 +1458,7 @@ export default class Webform extends NestedDataComponent {
return reject(err);
}

if (data && data._vnote) {
submission._vnote = data._vnote;
}
submission._vnote = data && data._vnote ? data._vnote : '';

if (!isDraft && !submission.data) {
return reject('Invalid Submission');
Expand Down

0 comments on commit 8868cbe

Please sign in to comment.