cmat 0.0.84 → 0.0.85

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.
@@ -1534,10 +1534,9 @@ class CmatQuillTypeComponent extends FieldType {
1534
1534
  isPublic: false,
1535
1535
  fileCategory: 'Quill',
1536
1536
  filePath: this.props.filePath,
1537
- fileType: 'file',
1537
+ fileType: CmatUtilsService.getFileType(file.type),
1538
1538
  data: file
1539
1539
  };
1540
- fileModel.fileType = CmatUtilsService.getFileType(file.type);
1541
1540
  const formData = new FormData();
1542
1541
  formData.set('fileData', file, file.name);
1543
1542
  formData.append('fileInfo', JSON.stringify(fileModel));