mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-2064] fix share icon
This commit is contained in:
@@ -1,12 +1,16 @@
|
|||||||
<ng-container *ngIf="selection$ | async as selection">
|
<ng-container *ngIf="(selection$ | async) as selection">
|
||||||
<button mat-menu-item data-automation-id="share-action-button" (click)="editSharedNode(selection)">
|
<button
|
||||||
<mat-icon>share</mat-icon>
|
mat-menu-item
|
||||||
<ng-container *ngIf="isShared(selection); else not_shared">
|
data-automation-id="share-action-button"
|
||||||
<span>{{ 'APP.ACTIONS.SHARE_EDIT' | translate }}</span>
|
(click)="editSharedNode(selection)"
|
||||||
</ng-container>
|
>
|
||||||
</button>
|
<mat-icon>link</mat-icon>
|
||||||
|
<ng-container *ngIf="isShared(selection); else: not_shared">
|
||||||
|
<span>{{ 'APP.ACTIONS.SHARE_EDIT' | translate }}</span>
|
||||||
|
</ng-container>
|
||||||
|
</button>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
<ng-template #not_shared>
|
<ng-template #not_shared>
|
||||||
<span>{{ 'APP.ACTIONS.SHARE' | translate }}</span>
|
<span>{{ 'APP.ACTIONS.SHARE' | translate }}</span>
|
||||||
</ng-template>
|
</ng-template>
|
Reference in New Issue
Block a user