mirror of
https://github.com/docmost/docmost.git
synced 2026-06-22 09:01:37 +10: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) => {
|
||||
notifications.show({
|
||||
|
||||
Reference in New Issue
Block a user