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/11484

Vanessa78201659397a
diff --git a/app/src/protyle/render/av/select.ts b/app/src/protyle/render/av/select.ts
index 744b485ea5..1a4deab6a1 100644
--- a/app/src/protyle/render/av/select.ts
+++ b/app/src/protyle/render/av/select.ts
@@ -133,21 +133,21 @@ export const setColOption = (protyle: IProtyle, data: IAV, target: HTMLElement,
if (name === inputElement.value || !inputElement.value) {
return;
}
- let hasName = false;
- data.view.columns.find(column => {
- if (column.id === colId) {
- column.options.find((item) => {
- if (item.name === inputElement.value) {
- hasName = true;
- return true;
- }
- });
- return true;
- }
- });
- if (hasName) {
- return;
- }
+ // let hasName = false;
+ // data.view.columns.find(column => {
+ // if (column.id === colId) {
+ // column.options.find((item) => {
+ // if (item.name === inputElement.value) {
+ // hasName = true;
+ // return true;
+ // }
+ // });
+ // return true;
+ // }
+ // });
+ // if (hasName) {
+ // return;
+ // }
transaction(protyle, [{
action: "updateAttrViewColOption",
id: colId,