From 8ecc88b5168864108704dfdcf19730019f7bb97e Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Thu, 11 Jul 2019 09:53:16 +0200 Subject: [PATCH] hide download button for dms without a file attached #1590 --- modules/client/front/dms/index/index.html | 3 ++- modules/ticket/front/dms/index/index.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/client/front/dms/index/index.html b/modules/client/front/dms/index/index.html index 40f01c4e0..2cf6cdd4f 100644 --- a/modules/client/front/dms/index/index.html +++ b/modules/client/front/dms/index/index.html @@ -58,7 +58,8 @@ + href="api/dms/{{::document.dmsFk}}/downloadFile?access_token={{::$ctrl.accessToken}}" + ng-show="document.hasFile"> diff --git a/modules/ticket/front/dms/index/index.html b/modules/ticket/front/dms/index/index.html index 9000ca91e..eb51710b6 100644 --- a/modules/ticket/front/dms/index/index.html +++ b/modules/ticket/front/dms/index/index.html @@ -58,7 +58,8 @@ + href="api/dms/{{::document.dmsFk}}/downloadFile?access_token={{::$ctrl.accessToken}}" + ng-show="document.hasFile">