An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:lipstick: fix https://github.com/siyuan-note/siyuan/issues/5357
Vanessa3c9939384940
diff --git a/app/src/layout/dock/Backlinks.ts b/app/src/layout/dock/Backlinks.tsindex 793c5408e0..fe873d221d 100644--- a/app/src/layout/dock/Backlinks.ts+++ b/app/src/layout/dock/Backlinks.ts@@ -265,20 +265,24 @@ export class Backlinks extends Model {case "layout":if (this.mTree.element.style.flex) {if (this.mTree.element.style.height === "0px") {+ this.tree.element.classList.remove("fn__none");this.mTree.element.removeAttribute("style");target.setAttribute("aria-label", window.siyuan.languages.up);target.querySelector("use").setAttribute("xlink:href", "#iconUp");} else {+ this.tree.element.classList.remove("fn__none");this.mTree.element.removeAttribute("style");target.setAttribute("aria-label", window.siyuan.languages.down);target.querySelector("use").setAttribute("xlink:href", "#iconDown");}} else {if (target.getAttribute("aria-label") === window.siyuan.languages.down) {+ this.tree.element.classList.remove("fn__none");this.mTree.element.setAttribute("style", "flex:none;height:0px");target.setAttribute("aria-label", window.siyuan.languages.up);target.querySelector("use").setAttribute("xlink:href", "#iconUp");} else {+ this.tree.element.classList.add("fn__none");this.mTree.element.setAttribute("style", `flex:none;height:${this.element.clientHeight - this.tree.element.previousElementSibling.clientHeight * 2}px`);target.setAttribute("aria-label", window.siyuan.languages.down);target.querySelector("use").setAttribute("xlink:href", "#iconDown");@@ -395,16 +399,19 @@ export class Backlinks extends Model {return;}if (data.mentionsCount === 0) {+ this.tree.element.classList.remove("fn__none");this.mTree.element.setAttribute("style", "flex:none;height:0px");layoutElement.setAttribute("aria-label", window.siyuan.languages.up);layoutElement.querySelector("use").setAttribute("xlink:href", "#iconUp");return;}if (data.linkRefsCount === 0) {+ this.tree.element.classList.add("fn__none");this.mTree.element.setAttribute("style", `flex:none;height:${this.element.clientHeight - this.tree.element.previousElementSibling.clientHeight * 2}px`);layoutElement.setAttribute("aria-label", window.siyuan.languages.down);layoutElement.querySelector("use").setAttribute("xlink:href", "#iconDown");} else {+ this.tree.element.classList.remove("fn__none");this.mTree.element.removeAttribute("style");layoutElement.setAttribute("aria-label", window.siyuan.languages.down);layoutElement.querySelector("use").setAttribute("xlink:href", "#iconDown");