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: fix https://github.com/siyuan-note/siyuan/issues/7610
Vanessafaf08d6c6021
diff --git a/app/src/card/openCard.ts b/app/src/card/openCard.tsindex a81edb677a..78948fcc10 100644--- a/app/src/card/openCard.ts+++ b/app/src/card/openCard.ts@@ -6,6 +6,7 @@ import {Constants} from "../constants";import {disabledProtyle, onGet} from "../protyle/util/onGet";import {hasClosestByClassName} from "../protyle/util/hasClosest";import {hideElements} from "../protyle/ui/hideElements";+import {needSubscribe} from "../util/needSubscribe";export const openCard = () => {const exit = window.siyuan.dialogs.find(item => {@@ -185,6 +186,12 @@ export const openCardByData = (cardsData: ICard[], html = "") => {cardID: blocks[index].cardID,rating: parseInt(type)}, () => {+ /// #if MOBILE+ if ((0 !== window.siyuan.config.sync.provider || (0 === window.siyuan.config.sync.provider && !needSubscribe(""))) &&+ window.siyuan.config.repo.key && window.siyuan.config.sync.enabled) {+ document.getElementById("toolbarSync").classList.remove("fn__none");+ }+ /// #endifindex++;editor.protyle.element.classList.add("card__block--hide");if (index > blocks.length - 1) {diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.tsindex 42d13da3c9..7450681072 100644--- a/app/src/types/index.d.ts+++ b/app/src/types/index.d.ts@@ -394,7 +394,7 @@ declare interface IConfig {stat: stringinterval: numbercloudName: string- provider: number+ provider: number // 0 官方同步, 2 S3, 3 WebDAVs3: {endpoint: stringpathStyle: boolean