ACS-8498] [ACA] Testing Angular 15 - Toolbar buttons layout is broken (#3995)

This commit is contained in:
Denys Vuika
2024-08-07 21:33:52 -04:00
committed by GitHub
parent 4c02291a84
commit 3075135fbc
22 changed files with 38 additions and 110 deletions

View File

@@ -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,

View File

@@ -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>
`,