From 3b7d6b0cf1e80c28c31ef74b851b1c231b250985 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 7 Mar 2024 09:36:59 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/10519 --- app/src/protyle/render/av/row.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/render/av/row.ts b/app/src/protyle/render/av/row.ts index efc466812..9603aff69 100644 --- a/app/src/protyle/render/av/row.ts +++ b/app/src/protyle/render/av/row.ts @@ -132,7 +132,7 @@ ${(item.getAttribute("data-block-id") || item.dataset.dtype === "block") ? ' dat return; } const filterType = headerElement.getAttribute("data-dtype"); - if (filterType !== item.value.type) { + if (item.value && filterType !== item.value.type) { return; } if (["relation", "rollup", "template"].includes(filterType)) {