[ACS-5645]Modified the changes

This commit is contained in:
Yasa-Nataliya
2023-10-09 20:22:06 +05:30
parent 828f2f9148
commit 0c1f6b68b7
4 changed files with 4 additions and 4 deletions
@@ -30,7 +30,7 @@
</button>
</span>
</div>
<p *ngIf="!isEmpty" class="adf-no-categories-message">
<p *ngIf="!isCategoryEmpty" class="adf-no-categories-message">
{{ noCategoriesMsg | translate }}
</p>
</div>
@@ -185,7 +185,7 @@ export class CategoriesManagementComponent implements OnInit, OnDestroy {
return this._categoryNameControl;
}
get isEmpty(): boolean {
get isCategoryEmpty(): boolean {
return this.categories?.length > 0;
}
@@ -14,7 +14,7 @@
</div>
<p
class="adf-no-tags-message"
*ngIf="!isEmpty">
*ngIf="!isTagsEmpty">
{{ 'TAG.TAGS_CREATOR.NO_TAGS_CREATED' | translate }}
</p>
<div
@@ -223,7 +223,7 @@ export class TagsCreatorComponent implements OnInit, OnDestroy {
return (!this.tagNameControlVisible && this.tags?.length > 0) || this.tagNameControlVisible;
}
get isEmpty(): boolean {
get isTagsEmpty(): boolean {
return this.tags?.length > 0;
}