vcomply-workflow-engine 2.6.102 → 2.6.103

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.
@@ -9209,19 +9209,17 @@
9209
9209
  }
9210
9210
  });
9211
9211
  console.log("payloadpayloadpayloadpayloadpayloadpayload ====>", payload);
9212
- // this.riskService.addBulkRisk(payload).subscribe((res: any) => {
9213
- // this.loader = false;
9214
- // this.showExcel = false;
9215
- // this.showSmiley = true;
9216
- // this.riskData = res;
9217
- // },
9218
- // err => {
9219
- // console.log(err);
9220
- // this.loader = false;
9221
- // this.showExcel = false;
9222
- // this.snackBar.show('OOPS! Something went wrong and the page could not be loaded. Could you please try one more time?', 'alert');
9223
- // }
9224
- // );
9212
+ this.riskService.addBulkRisk(payload).subscribe(function (res) {
9213
+ _this.loader = false;
9214
+ _this.showExcel = false;
9215
+ _this.showSmiley = true;
9216
+ _this.riskData = res;
9217
+ }, function (err) {
9218
+ console.log(err);
9219
+ _this.loader = false;
9220
+ _this.showExcel = false;
9221
+ _this.snackBar.show('OOPS! Something went wrong and the page could not be loaded. Could you please try one more time?', 'alert');
9222
+ });
9225
9223
  };
9226
9224
  AddMultipleRiskComponent.prototype.returnIds = function (item, key) {
9227
9225
  switch (key) {