@verdocs/web-sdk 5.0.14 → 5.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3695,6 +3695,9 @@ const VerdocsTemplateRoles = class {
3695
3695
  const renumberRequests = [];
3696
3696
  Object.entries(sortableRoles).forEach(([targetSeq, roles]) => {
3697
3697
  roles.forEach((role, index) => {
3698
+ if (!role) {
3699
+ return;
3700
+ }
3698
3701
  console.log('Evaluating role 1', index, role);
3699
3702
  console.log('Evaluating role 2', role.name, role.sequence, role.order);
3700
3703
  const targetOrder = +index + 1;