瀏覽代碼

:art: https://github.com/siyuan-note/siyuan/issues/10519

Vanessa 1 年之前
父節點
當前提交
3b7d6b0cf1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/src/protyle/render/av/row.ts

+ 1 - 1
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)) {