Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

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

Vanessa0807e307620a
diff --git a/app/src/protyle/render/av/filter.ts b/app/src/protyle/render/av/filter.ts
index 4c1f90a2f5..031f31fa21 100644
--- a/app/src/protyle/render/av/filter.ts
+++ b/app/src/protyle/render/av/filter.ts
@@ -275,7 +275,7 @@ export const setFilter = async (options: {
if (filterType === "select" || filterType === "mSelect") {
colData.options?.forEach((option) => {
let icon = "iconUncheck";
- options.filter.value?.mSelect.find((optionItem) => {
+ options.filter.value?.mSelect?.find((optionItem) => {
if (optionItem.content === option.name) {
icon = "iconCheck";
}