Load the lead's scrollback 50 turns at a time
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ export function todoLink(projectId: string, title: string, children: Node[]): HT
|
||||
return h("span", { class: "todo-link", data: { project: projectId, title } }, h("span", { class: "todo-title" }, ...children), " ", h("span", { class: "todo-action" }));
|
||||
}
|
||||
|
||||
export function fillTodoLinks(root: HTMLElement, model: string): void {
|
||||
export function fillTodoLinks(root: ParentNode, model: string): void {
|
||||
for (const el of root.querySelectorAll<HTMLElement>(".todo-link")) {
|
||||
fill(el, model);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user