[ACA-3218] Fix attach file widget - wrong payload when link is true (#5777)

* [ACA-3218] Fix attach file widget link is always false

* Add unit tests
This commit is contained in:
arditdomi
2020-06-18 18:18:34 +01:00
committed by GitHub
parent 71205a704c
commit 01244b1250
3 changed files with 62 additions and 3 deletions

View File

@@ -102,7 +102,7 @@ export class ActivitiContentService {
mimeType: node.content.mimeType,
sourceId: node.id + ';' + node.properties['cm:versionLabel'] + '@' + currentSideId,
name: node.name,
link: false
link: node.isLink
};
return from(apiService.activiti.contentApi.createTemporaryRelatedContent(params))
.pipe(