nuxeo-development-framework 3.2.6 → 3.2.7

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.
@@ -26024,13 +26024,13 @@
26024
26024
  };
26025
26025
  CreateModalComponent.prototype.createDocument = function () {
26026
26026
  var _this = this;
26027
- var _a;
26027
+ var _a, _b;
26028
26028
  this.creating = true;
26029
26029
  this.uploadMangmentService.failedFiles = [];
26030
26030
  this.uploadMangmentService.GeneralFormValidation = this.checkValidation();
26031
26031
  if (this.uploadMangmentService.GeneralFormValidation) {
26032
26032
  var apiCalls_1 = [];
26033
- if ((_a = this.data) === null || _a === void 0 ? void 0 : _a.path.includes('/default-domain/workspaces/DMSWorkspaces')) {
26033
+ if (((_a = this.data) === null || _a === void 0 ? void 0 : _a.path.includes('/default-domain/workspaces/DMSWorkspaces')) || ((_b = this.data) === null || _b === void 0 ? void 0 : _b.path.includes('/default-domain/UserWorkspaces/'))) {
26034
26034
  this.constructPayLoadToWorkSpace(this.uploadMangmentService.uploadedFilesStatus.uploadedFiles);
26035
26035
  this.payloadList.map(function (payload) {
26036
26036
  apiCalls_1.push(_this.fileMangerService.createFile(payload, _this.fileManagerService.selectedFolderId, 'DMS.CreateDocumentFromBlob'));