mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
fix: add queryCache to delete item.
This commit is contained in:
@@ -103,6 +103,7 @@ function ItemsList({
|
|||||||
}),
|
}),
|
||||||
intent: Intent.SUCCESS,
|
intent: Intent.SUCCESS,
|
||||||
});
|
});
|
||||||
|
queryCache.invalidateQueries('items-table');
|
||||||
setDeleteItem(false);
|
setDeleteItem(false);
|
||||||
})
|
})
|
||||||
.catch(({ errors }) => {
|
.catch(({ errors }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user