mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
ACS-8498] [ACA] Testing Angular 15 - Toolbar buttons layout is broken (#3995)
This commit is contained in:
@@ -51,7 +51,7 @@ import { NotificationService } from '@alfresco/adf-core';
|
||||
[attr.title]="(membership.isJoinRequested | async) ? ('APP.ACTIONS.CANCEL_JOIN' | translate) : ('APP.ACTIONS.JOIN' | translate)"
|
||||
>
|
||||
<mat-icon *ngIf="membership.isJoinRequested | async">cancel</mat-icon>
|
||||
<mat-icon *ngIf="!(membership.isJoinRequested | async)" svgIcon="adf:join_library"></mat-icon>
|
||||
<mat-icon *ngIf="!(membership.isJoinRequested | async)">library_add</mat-icon>
|
||||
</button>
|
||||
`,
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
|
@@ -44,8 +44,7 @@ import { MatMenuModule } from '@angular/material/menu';
|
||||
[isAdmin]="(profile$ | async).isAdmin"
|
||||
[attr.title]="(membership.isJoinRequested | async) ? ('APP.ACTIONS.CANCEL_JOIN' | translate) : ('APP.ACTIONS.JOIN' | translate)"
|
||||
>
|
||||
<mat-icon *ngIf="membership.isJoinRequested | async">cancel</mat-icon>
|
||||
<mat-icon *ngIf="!(membership.isJoinRequested | async)" svgIcon="adf:join_library"></mat-icon>
|
||||
<mat-icon>{{ membership.isJoinRequested ? 'cancel' : 'library_add' }}</mat-icon>
|
||||
<span>{{ (membership.isJoinRequested | async) ? ('APP.ACTIONS.CANCEL_JOIN' | translate) : ('APP.ACTIONS.JOIN' | translate) }}</span>
|
||||
</button>
|
||||
`,
|
||||
|
Reference in New Issue
Block a user