bpm-core 0.0.108 → 0.0.110

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.
@@ -5273,9 +5273,9 @@ class ActionButtonsComponent {
5273
5273
  }
5274
5274
  }
5275
5275
  submitForm(action, section) {
5276
- const lastSection = this.sections[this.sections.length - 1];
5277
- if (lastSection.body.details.decision) {
5278
- lastSection.body.details.decision['key'] = action;
5276
+ section = JSON.parse(JSON.stringify(section));
5277
+ if (section.body.details.decision) {
5278
+ section.body.details.decision['key'] = action;
5279
5279
  }
5280
5280
  this.isSubmitting[action] = true;
5281
5281
  this.submittingForm = true;