@churchillliving/se-ui-toolkit 6.53.256 → 6.53.258

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.
@@ -8861,11 +8861,12 @@
8861
8861
  var filters = this.getFilters();
8862
8862
  this.requestService.download('/Report/Generate', { Id: (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.Id, filters: filters })
8863
8863
  .subscribe(function (response) {
8864
- var newBlob = new Blob([response], { type: 'application/pdf' });
8864
+ var newBlob = new Blob([response.body], { type: 'application/pdf' });
8865
8865
  var data = window.URL.createObjectURL(newBlob);
8866
8866
  var a = document.createElement('a');
8867
8867
  a.href = data;
8868
- a.download = getResponseHeaderFileName(response);
8868
+ // a.download = utilities.getResponseHeaderFileName(response);
8869
+ a.download = 'report.pdf';
8869
8870
  document.body.appendChild(a);
8870
8871
  a.click();
8871
8872
  document.body.removeChild(a);
@@ -8955,7 +8956,7 @@
8955
8956
  this.requestService
8956
8957
  .download('/Report/Generate', { Id: this.repId, filters: filters })
8957
8958
  .subscribe(function (response) {
8958
- var newBlob = new Blob([response], { type: 'application/pdf' });
8959
+ var newBlob = new Blob([response.body], { type: 'application/pdf' });
8959
8960
  var data = window.URL.createObjectURL(newBlob);
8960
8961
  var a = document.createElement('a');
8961
8962
  a.href = data;