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:
+1
-1
@@ -178,7 +178,7 @@ export class CategoriesManagementComponent implements OnInit, OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get isNameCategoryVisible(): boolean {
|
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> {
|
get categoryNameControl(): FormControl<string> {
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ export class TagsCreatorComponent implements OnInit, OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get isNameTagsVisible(): boolean {
|
get isNameTagsVisible(): boolean {
|
||||||
return (!this.tagNameControlVisible && this.tags.length > 0) || this.tagNameControlVisible;
|
return (!this.tagNameControlVisible && this.tags?.length > 0) || this.tagNameControlVisible;
|
||||||
}
|
}
|
||||||
|
|
||||||
get isEmpty(): boolean {
|
get isEmpty(): boolean {
|
||||||
|
|||||||
Reference in New Issue
Block a user