[ADF-3530] Share file dialog - expiration date update (#3860)

* disable button when no selection

* fix date
This commit is contained in:
Cilibiu Bogdan
2018-10-04 17:38:42 +03:00
committed by Eugenio Romano
parent 5467e92966
commit 95587de864
2 changed files with 5 additions and 6 deletions

View File

@@ -119,7 +119,7 @@
</mat-icon>
</button>
<button mat-icon-button
[disabled]="!shareRef.isFile"
[disabled]="documentList.selection.length && !shareRef.isFile"
[baseShareUrl]="baseShareUrl"
#shareRef="adfShare"
[adf-share]="documentList.selection[0]"