[ADF-4055] ProcessAttachmentListComponent- add opt parameter on process-instances api call (#4292)

* [ADF-4055] ProcessAttachmentListComponent - add opts parameter on load  attachments api call

* [ADF-4055] fix lint

* [ADF-4055] - fix unit test

* [ADF-4055] - change opt parameter format

* [ADF-4055] remove useless unit test from process-content
This commit is contained in:
Silviu Popa
2019-02-12 07:54:31 +02:00
committed by Eugenio Romano
parent c55cba5514
commit 0683c4d226
4 changed files with 15 additions and 5 deletions

View File

@@ -111,7 +111,8 @@ export class ProcessAttachmentListComponent implements OnChanges, AfterContentIn
if (processInstanceId) {
this.reset();
this.isLoading = true;
this.activitiContentService.getProcessRelatedContent(processInstanceId).subscribe(
const opts: string = 'true';
this.activitiContentService.getProcessRelatedContent(processInstanceId, opts).subscribe(
(res: any) => {
res.data.forEach((content) => {
this.attachments.push({