minor fixes

This commit is contained in:
Yasa-Nataliya
2023-10-13 16:29:16 +05:30
committed by Anukriti Singh
parent c142ca1a30
commit eceef0de20
@@ -17,7 +17,7 @@
<span
*ngFor="let category of categories"
[class.adf-categories-padded]="!isCRUDMode"
class="adf-assigned-categories">
class="adf-assigned-categories">
{{ category.name }}
<button
data-automation-id="categories-remove-category-button"
@@ -37,7 +37,7 @@
<div class="adf-existing-categories-panel" *ngIf="existingCategoriesPanelVisible">
<ng-container *ngIf="isCRUDMode && (!existingCategoriesLoading || existingCategories)">
<span class="adf-create-category-label"
(click)="addCategory()"
(click)="addCategory()"
[hidden]="categoryNameControl.invalid || typing">
{{ 'CATEGORIES_MANAGEMENT.GENERIC_CREATE' | translate : { name: categoryNameControl.value } }}
</span>
@@ -62,8 +62,8 @@
</mat-selection-list>
</ng-container>
<mat-spinner
*ngIf="existingCategoriesLoading"
[diameter]="50"
*ngIf="existingCategoriesLoading"
[diameter]="50"
[attr.aria-label]="'CATEGORIES_MANAGEMENT.LOADING' | translate">
</mat-spinner>
</div>