removed download file conditional
gitea/salix/test This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-07-15 11:56:17 +02:00
parent fefb389872
commit aa19e54a16
2 changed files with 2 additions and 4 deletions

View File

@ -58,8 +58,7 @@
<vn-td number>
<a target="_blank"
vn-tooltip="Download file"
href="api/dms/{{::document.dmsFk}}/downloadFile?access_token={{::$ctrl.accessToken}}"
ng-show="document.dms.hasFile">
href="api/dms/{{::document.dmsFk}}/downloadFile?access_token={{::$ctrl.accessToken}}">
<vn-icon-button
icon="cloud_download"
title="{{'Download PDF' | translate}}">

View File

@ -58,8 +58,7 @@
<vn-td center shrink>
<a target="_blank"
vn-tooltip="Download file"
href="api/dms/{{::document.dmsFk}}/downloadFile?access_token={{::$ctrl.accessToken}}"
ng-show="document.dms.hasFile">
href="api/dms/{{::document.dmsFk}}/downloadFile?access_token={{::$ctrl.accessToken}}">
<vn-icon-button
icon="cloud_download"
title="{{'Download PDF' | translate}}">