invalidate board cache when an image is added to a board

This commit is contained in:
Mary Hipp 2023-09-29 11:54:04 -04:00 committed by psychedelicious
parent 9ac11e793c
commit 1aba369c83

View File

@ -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 },
])
);