mirror of
https://github.com/docmost/docmost.git
synced 2026-08-30 02:25:01 +08:00
fix: skip duplicate row fetch when opening new kanban card
This commit is contained in:
@@ -552,6 +552,10 @@ export function useKanbanCreateCardMutation() {
|
|||||||
),
|
),
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
queryClient.setQueryData<IBaseRow>(
|
||||||
|
["base-row", newRow.pageId, newRow.id],
|
||||||
|
newRow,
|
||||||
|
);
|
||||||
},
|
},
|
||||||
onError: (error) => {
|
onError: (error) => {
|
||||||
notifications.show({
|
notifications.show({
|
||||||
|
|||||||
Reference in New Issue
Block a user