From ad52d095670f2a08a330d1d4ee5ed4bc784e65aa Mon Sep 17 00:00:00 2001
From: Emile Bangma <ewjbangma@hotmail.com>
Date: Tue, 22 Oct 2024 20:33:54 +0000
Subject: [PATCH] Feat(filters): Support "true" as valid for draft and publish frontmatter values (b3a02909ba74fff08cd3675707d1f4d782a24e98)
---
quartz/components/ExplorerNode.tsx | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/quartz/components/ExplorerNode.tsx b/quartz/components/ExplorerNode.tsx
index 3137a3f..e57d677 100644
--- a/quartz/components/ExplorerNode.tsx
+++ b/quartz/components/ExplorerNode.tsx
@@ -224,10 +224,15 @@
class="content"
data-folderul={folderPath}
>
- {node.children.map((childNode) =>
- // eagerly render children so we can memoize properly
- ExplorerNode({ node: childNode, opts, fileData, fullPath: folderPath }),
- )}
+ {node.children.map((childNode, i) => (
+ <ExplorerNode
+ node={childNode}
+ key={i}
+ opts={opts}
+ fullPath={folderPath}
+ fileData={fileData}
+ />
+ ))}
</ul>
</div>
</li>
--
Gitblit v1.10.0