Skip to content

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

:art: card

Vanessa8fa4dad91d63
diff --git a/app/src/card/openCard.ts b/app/src/card/openCard.ts
index 8fb6ad0a39..8e43a881b2 100644
--- a/app/src/card/openCard.ts
+++ b/app/src/card/openCard.ts
@@ -274,7 +274,7 @@ export const bindCardEvent = async (options: {
if (moreElement) {
event.stopPropagation();
event.preventDefault();
- if (filterElement.getAttribute("data-cardtype") === "all") {
+ if (filterElement.getAttribute("data-cardtype") === "all" && filterElement.getAttribute("data-id")) {
showMessage(window.siyuan.languages.noSupportTip);
return;
}