create new translate pipe and remove TranslateCatalogPipe

This commit is contained in:
Omar-Nabil
2024-06-03 15:17:41 -06:00
committed by Jose Alberto Hernandez
parent c4d0eac2e3
commit 9a0124d358
53 changed files with 243 additions and 206 deletions
@@ -2,11 +2,11 @@
<mat-label>{{getLabelText()}}</mat-label>
<mat-select placeholder="{{getPlaceHolderText()}}" formControlName="controlSelect">
<mat-option *ngFor="let option of selectOptions" [value]="option.id">
{{ option.value | translateCatalog }}
{{ option.value | translateKey:'catalogs' }}
</mat-option>
</mat-select>
<button mat-button *ngIf="controlSelect" matSuffix mat-icon-button
aria-label="Clear" (click)="clearProperty($event)">
<mat-icon>close</mat-icon>
</button>
</mat-form-field>
</mat-form-field>