[ADF-2599] Share button disabled after clicking it fixed (#3525)

* [ADF-2599] Share button disabled after clicking it fixed

* [ADF-2599] Share button disabling attribute changed

* [ADF-2599] Trailing whitespace removed
This commit is contained in:
davidcanonieto 2018-07-03 20:05:10 +01:00 committed by Eugenio Romano
parent 1bba43af8c
commit a3372c3a68
2 changed files with 1 additions and 2 deletions

View File

@ -116,7 +116,7 @@
</mat-icon>
</button>
<button mat-icon-button
[disabled]="!documentList.selection.length"
disabled
[baseShareUrl]="baseShareUrl"
[adf-share]="documentList.selection[0]"
matTooltip="{{ 'DOCUMENT_LIST.TOOLBAR.SHARE' | translate }}">

View File

@ -45,7 +45,6 @@ export class NodeSharedDirective implements OnChanges {
shareNode(node: MinimalNodeEntity) {
if (node.entry && node.entry.isFile) {
this.setDisableAttribute(true);
this.dialog.open(ShareDialogComponent, {
width: '600px',
disableClose: true,