removed download file conditional

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

View File

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

View File

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