Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix: query pinnedAt empty value

steven7e858509e65c
diff --git a/web/src/components/QueryList.tsx b/web/src/components/QueryList.tsx
index 521f465f6..1a519aace 100644
--- a/web/src/components/QueryList.tsx
+++ b/web/src/components/QueryList.tsx
@@ -115,7 +115,7 @@ const QueryItemContainer: React.FC<QueryItemContainerProps> = (props: QueryItemC
await queryService.unpinQuery(query.id);
queryService.editQuery({
...query,
- pinnedAt: undefined,
+ pinnedAt: "",
});
} else {
await queryService.pinQuery(query.id);