@sumaris-net/ngx-components 1.2.1 → 1.2.2

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.
@@ -16874,7 +16874,7 @@
16874
16874
  var location$ = this._downloadingJobs.get(request.uri);
16875
16875
  if (location$)
16876
16876
  return location$;
16877
- request = Object.assign({ visibleInDownloadsUi: true, notificationVisibility: ngx$6.NotificationVisibility.VisibleNotifyCompleted, title: request.title || request.filename }, request);
16877
+ request = Object.assign(Object.assign({ visibleInDownloadsUi: true, notificationVisibility: ngx$6.NotificationVisibility.VisibleNotifyCompleted, title: request.title || request.filename }, request), { destinationInExternalFilesDir: Object.assign({ dirType: 'Downloads', subPath: request.filename || request.title || '' }, request.destinationInExternalFilesDir) });
16878
16878
  console.debug('[platform] Downloading, using request: ' + JSON.stringify(request));
16879
16879
  // Start download
16880
16880
  location$ = rxjs.from(this.downloader.download(request));