mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-5645] Implemented the changes as per the review comments
This commit is contained in:
committed by
Anukriti Singh
parent
aa6b527a5d
commit
9723f9f480
+1
-1
@@ -178,7 +178,7 @@ export class CategoriesManagementComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
get isNameCategoryVisible(): boolean {
|
||||
return (!this.categoryNameControlVisible && this.categories.length > 0) || this.categoryNameControlVisible;
|
||||
return (!this.categoryNameControlVisible && this.categories?.length > 0) || this.categoryNameControlVisible;
|
||||
}
|
||||
|
||||
get categoryNameControl(): FormControl<string> {
|
||||
|
||||
@@ -220,7 +220,7 @@ export class TagsCreatorComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
get isNameTagsVisible(): boolean {
|
||||
return (!this.tagNameControlVisible && this.tags.length > 0) || this.tagNameControlVisible;
|
||||
return (!this.tagNameControlVisible && this.tags?.length > 0) || this.tagNameControlVisible;
|
||||
}
|
||||
|
||||
get isEmpty(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user