[ACA-2064] fix share icon

This commit is contained in:
Denys Vuika
2018-12-10 10:24:56 +00:00
parent 99a8192b36
commit 668acafa3d

View File

@@ -1,7 +1,11 @@
<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"
(click)="editSharedNode(selection)"
>
<mat-icon>link</mat-icon>
<ng-container *ngIf="isShared(selection); else: not_shared">
<span>{{ 'APP.ACTIONS.SHARE_EDIT' | translate }}</span> <span>{{ 'APP.ACTIONS.SHARE_EDIT' | translate }}</span>
</ng-container> </ng-container>
</button> </button>