InvokeAI/invokeai/frontend/web/src
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 fix(ui): race condition when deleting a board and resetting selected/auto-add 2024-07-29 11:36:03 +10:00
common feat(ui): add informational popovers for upscale params 2024-07-26 08:20:24 +10:00
features track accordions in tabs separately so open/close state isnt shared 2024-07-26 08:20:24 +10:00
services fix(ui): dropped model config cache breaking model edit UI 2024-07-26 07:52:10 +10:00
i18.d.ts fix(ui): improve IDE TS performance by not resolving JSON 2023-06-28 23:55:44 -04:00
i18n.ts feat(ui): handle proxy configs rewriting paths 2024-01-25 13:29:56 +11:00
index.ts tidy(ui): remove commented line 2024-01-22 09:37:26 +11:00
main.tsx Revert "feat(ui): extend zod with a is typeguard` method" 2024-05-08 08:39:18 -04:00
vite-env.d.ts all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00