mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
[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:
parent
1bba43af8c
commit
a3372c3a68
@ -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 }}">
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user