Add TODO for fold state

This commit is contained in:
Peter Stuifzand 2020-10-25 15:23:19 +01:00
parent 628086a806
commit 6c9b82493e

View File

@ -138,7 +138,7 @@ func convertBlocksToListItems(current string, blocks BlockResponse, indent int)
ID: child, ID: child,
Indented: indent, Indented: indent,
Text: blocks.Texts[child], Text: blocks.Texts[child],
Fold: "open", Fold: "open", // TODO: keep Fold state somewhere
Hidden: false, Hidden: false,
}) })
listItems = append(listItems, l...) listItems = append(listItems, l...)