mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
invalidate board cache when an image is added to a board
This commit is contained in:
parent
9ac11e793c
commit
1aba369c83
@ -74,6 +74,7 @@ export const addInvocationCompleteEventListener = () => {
|
||||
imagesApi.util.invalidateTags([
|
||||
{ type: 'BoardImagesTotal', id: imageDTO.board_id },
|
||||
{ type: 'BoardAssetsTotal', id: imageDTO.board_id },
|
||||
{ type: 'Board', id: imageDTO.board_id },
|
||||
])
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user