Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/10964

Vanessacbbca634f5fa
diff --git a/app/src/protyle/render/av/openMenuPanel.ts b/app/src/protyle/render/av/openMenuPanel.ts
index 4b7030c91e..32d2029484 100644
--- a/app/src/protyle/render/av/openMenuPanel.ts
+++ b/app/src/protyle/render/av/openMenuPanel.ts
@@ -1504,7 +1504,7 @@ export const openMenuPanel = (options: {
window.siyuan.menus.menu.remove();
const useElement = target.firstElementChild;
const isHide = useElement.getAttribute("xlink:href") !== "#iconEye";
- useElement.setAttribute("xlink:href", "#iconEyeoff");
+ useElement.setAttribute("xlink:href", isHide ? "#iconEye" : "#iconEyeoff");
transaction(options.protyle, [{
action: "hideAttrViewGroup",
avID: data.id,