An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: 数据库日期过滤
Vanessa67503a3e01f0
diff --git a/app/src/protyle/render/av/filter.ts b/app/src/protyle/render/av/filter.tsindex 0730a59a2c..2468519122 100644--- a/app/src/protyle/render/av/filter.ts+++ b/app/src/protyle/render/av/filter.ts@@ -425,7 +425,7 @@ export const setFilter = async (options: {toggleEmpty(selectElement, selectElement.value, filterType);});const dateTypeElement = menu.element.querySelector('.b3-select[data-type="dateType"]') as HTMLSelectElement;- dateTypeElement.addEventListener("change", () => {+ dateTypeElement?.addEventListener("change", () => {const directionElements = menu.element.querySelectorAll('[data-type="dataDirection"]');const customerElement = directionElements[0].parentElement;const customer2Element = directionElements[1].parentElement;