From 53ffbc943e5059e27831483203b7785d8e75c74b Mon Sep 17 00:00:00 2001 From: tpart Date: Fri, 22 Nov 2024 18:26:04 +0100 Subject: Fix table of contents empty --- client/menu/document/document.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/menu/document/document.gd b/client/menu/document/document.gd index 6c4b0685..1b1619f0 100644 --- a/client/menu/document/document.gd +++ b/client/menu/document/document.gd @@ -77,8 +77,8 @@ func build_document(element: Dictionary, bullet: bool = false) -> Control: for e in element["es"]: node.add_child(build_document(e, bullet)) "ref": - # TODO, implement later - node = Control.new() + # TODO: Support clicking + node = build_document(element["e"], bullet) "conditional": # Ignore all conditionals for now, since they are only revelant for typst version node = Control.new() -- cgit v1.2.3-70-g09d2