mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix first added board doesn't show until refresh
Had incorrect `invalidatesTags` array for the mutation.
This commit is contained in:
parent
6ee0e197bb
commit
922319cb84
@ -86,7 +86,7 @@ export const api = createApi({
|
|||||||
method: 'POST',
|
method: 'POST',
|
||||||
params: { board_name },
|
params: { board_name },
|
||||||
}),
|
}),
|
||||||
invalidatesTags: ['Board'],
|
invalidatesTags: [{ id: 'Board', type: LIST }],
|
||||||
}),
|
}),
|
||||||
|
|
||||||
updateBoard: build.mutation<BoardDTO, UpdateBoardArg>({
|
updateBoard: build.mutation<BoardDTO, UpdateBoardArg>({
|
||||||
|
Loading…
Reference in New Issue
Block a user