From 994b247f8e9b5abe8865bb43e171089c86ec81ca Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 3 May 2023 23:40:22 +1000 Subject: [PATCH] feat(ui): do not persist gallery images - I've sorted out the issues that make *not* persisting troublesome, these will be rolled out with canvas - Also realized that persisting gallery images very quickly fills up localStorage, so we can't really do it anyways --- invokeai/frontend/web/src/app/store/store.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/invokeai/frontend/web/src/app/store/store.ts b/invokeai/frontend/web/src/app/store/store.ts index e9e104dac2..b0f73a759e 100644 --- a/invokeai/frontend/web/src/app/store/store.ts +++ b/invokeai/frontend/web/src/app/store/store.ts @@ -73,10 +73,12 @@ const rootPersistConfig = getPersistConfig({ ...modelsDenylist, ...nodesDenylist, ...postprocessingDenylist, - ...resultsDenylist, + // ...resultsDenylist, + 'results', ...systemDenylist, ...uiDenylist, - ...uploadsDenylist, + // ...uploadsDenylist, + 'uploads', 'hotkeys', 'config', ],