From 83049a3a5ba3701b6ab103518f2f649f19133e5d Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 29 Dec 2023 09:22:02 +1100 Subject: [PATCH] fix(ui): typo in canvas model handler --- .../middleware/listenerMiddleware/listeners/tabChanged.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/tabChanged.ts b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/tabChanged.ts index f58c6c1f33..90abf63da4 100644 --- a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/tabChanged.ts +++ b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/tabChanged.ts @@ -36,12 +36,12 @@ export const addTabChangedListener = () => { return; } - // need to filter out all the invalid canvas models (currently sdxl & refiner) + // need to filter out all the invalid canvas models (currently refiner & any) const validCanvasModels = mainModelsAdapter .getSelectors() .selectAll(models) .filter((model) => - ['sd-1', 'sd-2', 'sxdl'].includes(model.base_model) + ['sd-1', 'sd-2', 'sdxl'].includes(model.base_model) ); const firstValidCanvasModel = validCanvasModels[0];