Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/9819

Vanessa16fa8a4548bd
diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.ts
index 9003d00db3..220f72b784 100644
--- a/app/src/protyle/render/av/col.ts
+++ b/app/src/protyle/render/av/col.ts
@@ -589,7 +589,7 @@ export const showColMenu = (protyle: IProtyle, blockElement: Element, cellElemen
}
const isPin = cellElement.dataset.pin === "true";
menu.addItem({
- icon: "iconPin",
+ icon: isPin ? "iconUnpin" : "iconPin",
label: isPin ? window.siyuan.languages.unfreezeCol : window.siyuan.languages.freezeCol,
click() {
transaction(protyle, [{