mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-05-27 07:36:18 +00:00
WikiTree: Limit number of descendant generations to 5
This commit is contained in:
@@ -188,7 +188,7 @@ export async function loadWikiTree(
|
|||||||
|
|
||||||
// Limit the number of generations of descendants because there may be tens of
|
// Limit the number of generations of descendants because there may be tens of
|
||||||
// generations for some profiles.
|
// generations for some profiles.
|
||||||
const descendantGenerationLimit = 10;
|
const descendantGenerationLimit = 5;
|
||||||
|
|
||||||
// Fetch descendants recursively.
|
// Fetch descendants recursively.
|
||||||
let toFetch = [key];
|
let toFetch = [key];
|
||||||
|
|||||||
Reference in New Issue
Block a user