From d29f57c93d4e21556226b233bd5fc4ffae7e9eda Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Mon, 20 Feb 2023 05:26:48 +1300 Subject: [PATCH] fix: Keep the first accordion open by default on reset We need to do this now because we are using multiple accordions. --- invokeai/frontend/src/features/system/store/systemSlice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/frontend/src/features/system/store/systemSlice.ts b/invokeai/frontend/src/features/system/store/systemSlice.ts index 37b43965ef..3293869d58 100644 --- a/invokeai/frontend/src/features/system/store/systemSlice.ts +++ b/invokeai/frontend/src/features/system/store/systemSlice.ts @@ -69,7 +69,7 @@ const initialSystemState: SystemState = { isESRGANAvailable: true, socketId: '', shouldConfirmOnDelete: true, - openAccordions: [], + openAccordions: [0], currentStep: 0, totalSteps: 0, currentIteration: 0,