mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix related attached file only for task as in the process
This commit is contained in:
@@ -16,7 +16,18 @@
|
||||
*/
|
||||
|
||||
import { ContentService, ThumbnailService, EmptyListComponent } from '@alfresco/adf-core';
|
||||
import { AfterContentInit, ContentChild, Component, EventEmitter, Input, NgZone, OnChanges, Output, SimpleChanges, ViewEncapsulation } from '@angular/core';
|
||||
import {
|
||||
AfterContentInit,
|
||||
ContentChild,
|
||||
Component,
|
||||
EventEmitter,
|
||||
Input,
|
||||
NgZone,
|
||||
OnChanges,
|
||||
Output,
|
||||
SimpleChanges,
|
||||
ViewEncapsulation
|
||||
} from '@angular/core';
|
||||
import { ProcessContentService } from '@alfresco/adf-core';
|
||||
|
||||
@Component({
|
||||
@@ -108,7 +119,8 @@ export class TaskAttachmentListComponent implements OnChanges, AfterContentInit
|
||||
if (taskId) {
|
||||
this.isLoading = true;
|
||||
this.reset();
|
||||
this.activitiContentService.getTaskRelatedContent(taskId).subscribe(
|
||||
const opts = 'true';
|
||||
this.activitiContentService.getTaskRelatedContent(taskId, opts).subscribe(
|
||||
(res: any) => {
|
||||
let attachList = [];
|
||||
res.data.forEach((content) => {
|
||||
|
Reference in New Issue
Block a user