An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/12989
Vanessaefa4192278d6
diff --git a/app/src/card/openCard.ts b/app/src/card/openCard.tsindex 065e4d645b..57b6f6c5d4 100644--- a/app/src/card/openCard.ts+++ b/app/src/card/openCard.ts@@ -203,7 +203,7 @@ export const bindCardEvent = async (options: {}options.element.setAttribute("data-key", Constants.DIALOG_OPENCARD);const actionElements = options.element.querySelectorAll(".card__action");- if (options.index === 0) {+ if (options.index === 0 || typeof options.index === "undefined") {actionElements[0].firstElementChild.setAttribute("disabled", "disabled");} else {actionElements[0].firstElementChild.removeAttribute("disabled");