tnx-shared 5.3.196 → 5.3.198

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.
@@ -21213,7 +21213,7 @@
21213
21213
  var CongViecService = /** @class */ (function (_super) {
21214
21214
  __extends(CongViecService, _super);
21215
21215
  function CongViecService(http, injector, _moduleConfigService, _dmLoaiCongViecService) {
21216
- var _this = _super.call(this, http, injector, _moduleConfigService.getConfig().environment.apiDomain.vanbanEndpoint + "/" + _moduleConfigService.getConfig().environment.apiVersion + "/vanbanden") || this;
21216
+ var _this = _super.call(this, http, injector, _moduleConfigService.getConfig().environment.apiDomain.congviecEndpoint + "/" + _moduleConfigService.getConfig().environment.apiVersion + "/CongViec_Chinh") || this;
21217
21217
  _this._dmLoaiCongViecService = _dmLoaiCongViecService;
21218
21218
  _this.endPoint = _moduleConfigService.getConfig().environment.apiDomain.vanbanEndpoint;
21219
21219
  _this._moduleConfig = _moduleConfigService.getConfig();
@@ -24548,7 +24548,9 @@
24548
24548
  return [4 /*yield*/, this._federationService.loadRemoteNewComponent('commonapp', 'StartWorkflowComponent', this.startWorkflowViewContainer)];
24549
24549
  case 13:
24550
24550
  compRef = _g.sent();
24551
- dialog.buttonTemplateInput = compRef.instance.buttonTemplate;
24551
+ if (dialog) {
24552
+ dialog.buttonTemplateInput = compRef.instance.buttonTemplate;
24553
+ }
24552
24554
  compRef.workflows = workflowSetting.workflows;
24553
24555
  compRef.defaultWorkflow = workflowSetting.workflowCode;
24554
24556
  compRef.instance.onSaved.subscribe(function (event) { return _this.handleStartWorkflowFromDialog(event); });