InvokeAI/invokeai
psychedelicious 171a4e6d80 fix(ui): race condition when deleting a board and resetting selected/auto-add
We were checking the selected and auto-add board ids against the query cache to see if they still exist. If not, we reset.

This only works if the query cache is updated by the time we do the check - race condition!

We already have the board id from the query args, so there's no need to check the query cache - just compare the deleted board ID directly.

Previously this file's several listeners were all in a single one and I had adapted/split its logic up a bit wonkily, introducing these problems.
2024-07-29 11:36:03 +10:00
..
app Merge branch 'main' into stalker-modular_t2i_adapter 2024-07-28 15:30:00 -04:00
assets feat(api): chore: pydantic & fastapi upgrade 2023-10-17 14:59:25 +11:00
backend Merge branch 'main' into stalker-modular_t2i_adapter 2024-07-28 15:30:00 -04:00
configs feat(mm): support sdxl ckpt inpainting models 2024-04-28 12:57:27 +10:00
frontend fix(ui): race condition when deleting a board and resetting selected/auto-add 2024-07-29 11:36:03 +10:00
invocation_api Fix static type errors with SCHEDULER_NAME_VALUES. And, avoid bi-directional cross-directory imports, which contribute to circular import issues. 2024-07-05 07:38:35 -07:00
version bump version to 4.2.7 2024-07-26 09:11:17 -07:00
__init__.py