From 88e961d12a217ceb6a6e7c2b44039f51fc3b173e Mon Sep 17 00:00:00 2001 From: Vito Date: Thu, 6 Feb 2020 15:07:59 +0000 Subject: [PATCH] [ADF-1653] [ADF-1651] - disabled download for external source and added download for same login content (#5450) * ADF-1653 - disabled download for external content * ADF-1653 - ADF-1651 - disabled download for external source and added download for same login content * ADF-1653 - using downloadService instead of contentService * improve solution * improve solution * fix unit * add more unti test * fix lint Co-authored-by: Eugenio Romano --- .../attach-file-widget.component.html | 3 +- .../attach-file-widget.component.ts | 33 ++++++-- .../attach-file-widget.components.spec.ts | 79 +++++++++++++++---- 3 files changed, 92 insertions(+), 23 deletions(-) diff --git a/lib/process-services/src/lib/content-widget/attach-file-widget.component.html b/lib/process-services/src/lib/content-widget/attach-file-widget.component.html index 38f9607e00..d55d15c275 100644 --- a/lib/process-services/src/lib/content-widget/attach-file-widget.component.html +++ b/lib/process-services/src/lib/content-widget/attach-file-widget.component.html @@ -76,12 +76,13 @@