mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Fix upload related content (#2019)
This commit is contained in:
committed by
Eugenio Romano
parent
03d4742f34
commit
7224ccac7b
@@ -54,7 +54,10 @@ export class ActivitiCreateTaskAttachmentComponent implements OnChanges {
|
|||||||
|
|
||||||
for (let fileInfoObj of filesList) {
|
for (let fileInfoObj of filesList) {
|
||||||
let file: File = fileInfoObj;
|
let file: File = fileInfoObj;
|
||||||
this.activitiContentService.createTaskRelatedContent(this.taskId, file).subscribe(
|
let opts = {
|
||||||
|
isRelatedContent: true
|
||||||
|
};
|
||||||
|
this.activitiContentService.createTaskRelatedContent(this.taskId, file, opts).subscribe(
|
||||||
(res) => {
|
(res) => {
|
||||||
this.success.emit(res);
|
this.success.emit(res);
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user