mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
65600: ComCol-Tree load more links message, not yet functional
This commit is contained in:
@@ -28,7 +28,13 @@ export class CommunityListComponent implements OnInit {
|
||||
this.dataSource.loadCommunities(null);
|
||||
}
|
||||
|
||||
hasChild = (_: number, node: FlatNode) => node.isExpandable;
|
||||
hasChild(_: number, node: FlatNode) {
|
||||
return node.isExpandable;
|
||||
}
|
||||
|
||||
isShowMore(_: number, node: FlatNode) {
|
||||
return node.isShowMoreNode;
|
||||
}
|
||||
|
||||
shouldRender(node: FlatNode) {
|
||||
const parent = node.parent;
|
||||
@@ -54,4 +60,9 @@ export class CommunityListComponent implements OnInit {
|
||||
return getCommunityPageRoute(node.id);
|
||||
}
|
||||
|
||||
getNextPage(): void {
|
||||
console.log('go to next page');
|
||||
// TODO
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user