An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: flash card zoomin status
Vanessadf487a7c6aac
diff --git a/app/src/card/openCard.ts b/app/src/card/openCard.tsindex 3b1b84c757..8586e83775 100644--- a/app/src/card/openCard.ts+++ b/app/src/card/openCard.ts@@ -143,7 +143,7 @@ export const bindCardEvent = (options: {onGet({data: response,protyle: editor.protyle,- action: [Constants.CB_GET_ALL, Constants.CB_GET_HTML],+ action: response.data.rootID === response.data.id ? [Constants.CB_GET_HTML] : [Constants.CB_GET_ALL, Constants.CB_GET_HTML],});});}@@ -485,7 +485,7 @@ const nextCard = (options: {onGet({data: response,protyle: options.editor.protyle,- action: [Constants.CB_GET_ALL, Constants.CB_GET_HTML],+ action: response.data.rootID === response.data.id ? [Constants.CB_GET_HTML] : [Constants.CB_GET_ALL, Constants.CB_GET_HTML],});});};diff --git a/app/src/card/viewCards.ts b/app/src/card/viewCards.tsindex 80c61d95ba..89b708c3d5 100644--- a/app/src/card/viewCards.ts+++ b/app/src/card/viewCards.ts@@ -253,7 +253,9 @@ const getArticle = (edit: Protyle, id: string) => {size: Constants.SIZE_GET_MAX,}, getResponse => {onGet({- data: getResponse, protyle: edit.protyle, action: [Constants.CB_GET_ALL, Constants.CB_GET_HTML]+ data: getResponse,+ protyle: edit.protyle,+ action: getResponse.data.rootID === getResponse.data.id ? [Constants.CB_GET_HTML] : [Constants.CB_GET_ALL, Constants.CB_GET_HTML],});});};