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

Vanessafa1734579398
diff --git a/app/src/protyle/render/av/openMenuPanel.ts b/app/src/protyle/render/av/openMenuPanel.ts
index 5057b73c46..db8d5a64e3 100644
--- a/app/src/protyle/render/av/openMenuPanel.ts
+++ b/app/src/protyle/render/av/openMenuPanel.ts
@@ -1394,13 +1394,18 @@ export const openMenuPanel = (options: {
event.stopPropagation();
break;
} else if (type === "clearDate") {
+ const colData = fields.find((item: IAVColumn) => {
+ if (item.id === options.cellElements[0].getAttribute("data-col-id")) {
+ return true;
+ }
+ });
updateCellsValue(options.protyle, options.blockElement as HTMLElement, {
isNotEmpty2: false,
isNotEmpty: false,
content: null,
content2: null,
hasEndDate: false,
- isNotTime: true,
+ isNotTime: !colData.date.fillSpecificTime,
}, options.cellElements);
avPanelElement.remove();
event.preventDefault();