From 7e858509e65c5684dc6a76776bc939919bc7d26c Mon Sep 17 00:00:00 2001 From: steven Date: Sun, 12 Dec 2021 22:06:48 +0800 Subject: [PATCH] fix: query pinnedAt empty value --- web/src/components/QueryList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/QueryList.tsx b/web/src/components/QueryList.tsx index 521f465f..1a519aac 100644 --- a/web/src/components/QueryList.tsx +++ b/web/src/components/QueryList.tsx @@ -115,7 +115,7 @@ const QueryItemContainer: React.FC = (props: QueryItemC await queryService.unpinQuery(query.id); queryService.editQuery({ ...query, - pinnedAt: undefined, + pinnedAt: "", }); } else { await queryService.pinQuery(query.id);