[ACS-5645]Modified the changes

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