mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
invalidate board cache when an image is added to a board
This commit is contained in:
committed by
psychedelicious
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 },
|
||||
])
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user