mirror of
https://github.com/usememos/memos.git
synced 2024-12-26 07:01:17 +08:00
fix: query pinnedAt empty value
This commit is contained in:
parent
50c8947ad5
commit
7e858509e6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue