mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
Fix upload related content (#2019)
This commit is contained in:
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);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user