tnx-shared 5.3.196 → 5.3.197

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.
@@ -20882,7 +20882,9 @@ class ListComponentBase extends ComponentBase {
20882
20882
  this.startWorkflowModel.showEditForm = true;
20883
20883
  rowData.__startingWorkflow = false;
20884
20884
  const compRef = yield this._federationService.loadRemoteNewComponent('commonapp', 'StartWorkflowComponent', this.startWorkflowViewContainer);
20885
- dialog.buttonTemplateInput = compRef.instance.buttonTemplate;
20885
+ if (dialog) {
20886
+ dialog.buttonTemplateInput = compRef.instance.buttonTemplate;
20887
+ }
20886
20888
  compRef.workflows = workflowSetting.workflows;
20887
20889
  compRef.defaultWorkflow = workflowSetting.workflowCode;
20888
20890
  compRef.instance.onSaved.subscribe(event => this.handleStartWorkflowFromDialog(event));