diff --git a/src/app/community-list-page/community-list/community-list.component.html b/src/app/community-list-page/community-list/community-list.component.html index 77e9e1ee40..a70de8475a 100644 --- a/src/app/community-list-page/community-list/community-list.component.html +++ b/src/app/community-list-page/community-list/community-list.component.html @@ -6,7 +6,6 @@
+
+
+ + {{node.payload.shortDescription}} +
+
+ class="example-tree-node">
-
- {{node.name}} {{node.id}} + {{node.name}}
-
+
{{node.payload.shortDescription}}
@@ -46,18 +54,18 @@ [attr.aria-label]="'toggle ' + node.name" (click)="toggleExpanded(node)" [ngClass]="node.isExpandable ? 'visible' : 'invisible'"> - +
- {{node.name}} {{node.id}} + {{node.name}}
-
+
{{node.payload.shortDescription}}
diff --git a/src/app/community-list-page/community-list/community-list.component.ts b/src/app/community-list-page/community-list/community-list.component.ts index c45e5098ab..5cce255380 100644 --- a/src/app/community-list-page/community-list/community-list.component.ts +++ b/src/app/community-list-page/community-list/community-list.component.ts @@ -4,7 +4,7 @@ import {CommunityListDatasource} from '../community-list-datasource'; import {FlatTreeControl} from '@angular/cdk/tree'; import {Collection} from '../../core/shared/collection.model'; import {Community} from '../../core/shared/community.model'; -import {isEmpty} from "../../shared/empty.util"; +import {isEmpty} from '../../shared/empty.util'; @Component({ selector: 'ds-community-list', @@ -14,7 +14,6 @@ import {isEmpty} from "../../shared/empty.util"; export class CommunityListComponent implements OnInit { private expandedNodes: FlatNode[] = []; - private Arr = Array; treeControl = new FlatTreeControl( (node) => node.level, (node) => node.isExpandable diff --git a/src/app/core/data/community-data.service.ts b/src/app/core/data/community-data.service.ts index 1e3875edd4..7368d30202 100644 --- a/src/app/core/data/community-data.service.ts +++ b/src/app/core/data/community-data.service.ts @@ -59,7 +59,6 @@ export class CommunityDataService extends ComColDataService { findSubCommunitiesPerParentCommunity(parentCommunityUUID: string, options: FindListOptions = {}): Observable>> { const hrefObs = this.getFindAllHref(options, this.subcommunitiesLinkPath + '?parent=' + parentCommunityUUID); - console.log('subcomurl', hrefObs.pipe(take(1)).subscribe((val) => console.log('subcomurl', val))); hrefObs.pipe( filter((href: string) => hasValue(href)),