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/7640
Vanessa38f0b0f469d1
diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.tsindex d0b85f5a64..2e6fbe86fa 100644--- a/app/src/dialog/processSystem.ts+++ b/app/src/dialog/processSystem.ts@@ -319,11 +319,14 @@ export const setTitle = (title: string) => {};export const downloadProgress = (data: { id: string, percent: number }) => {- const bazzarElement = document.getElementById("configBazaarReadme");- if (!bazzarElement) {+ const bazzarSideElement = document.querySelector("#configBazaarReadme .item__side");+ if (!bazzarSideElement) {return;}- const btnElement = bazzarElement.querySelector('[data-type="install"]') as HTMLElement;+ if (data.id !== JSON.parse(bazzarSideElement.getAttribute("data-obj")).repoURL) {+ return;+ }+ const btnElement = bazzarSideElement.querySelector('[data-type="install"]') as HTMLElement;if (btnElement) {if (data.percent >= 1) {btnElement.parentElement.classList.add("fn__none");diff --git a/app/src/window/index.ts b/app/src/window/index.tsindex e2ecc0ab90..c05b6ed5e8 100644--- a/app/src/window/index.ts+++ b/app/src/window/index.ts@@ -90,9 +90,6 @@ class App {case "statusbar":progressStatus(data);break;- case "downloadProgress":- downloadProgress(data.data);- break;case "txerr":transactionError(data);break;