Skip to content

Commit

Permalink
Merge pull request #888 from aehrc/fix/sdc-pop
Browse files Browse the repository at this point in the history
Fix js error can't find linkId
  • Loading branch information
fongsean authored Jun 24, 2024
2 parents 04a09f6 + d178b3d commit 5e291dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function removeEmptyAnswersFromItemRecursive(
const childQrItem = qrItems[qrItemIndex];

// Save qrItem if linkIds of current qItem and qrItem are the same
if (childQItem && childQrItem && childQItem.linkId === childQrItem.linkId) {
if (childQItem && childQrItem && childQItem?.linkId === childQrItem?.linkId) {
// if (!qItems[qrItemIndex]) {
// continue;
// }
Expand Down

0 comments on commit 5e291dc

Please sign in to comment.