Browse Source

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

Vanessa 1 year ago
parent
commit
3b7d6b0cf1
1 changed files with 1 additions and 1 deletions
  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;
                     return;
                 }
                 }
                 const filterType = headerElement.getAttribute("data-dtype");
                 const filterType = headerElement.getAttribute("data-dtype");
-                if (filterType !== item.value.type) {
+                if (item.value && filterType !== item.value.type) {
                     return;
                     return;
                 }
                 }
                 if (["relation", "rollup", "template"].includes(filterType)) {
                 if (["relation", "rollup", "template"].includes(filterType)) {