From 9d3739244f037302da7c302a59242fc06c798ff7 Mon Sep 17 00:00:00 2001 From: Ryan Dick Date: Wed, 3 Jul 2024 15:57:02 -0400 Subject: [PATCH] Prettier formatting. --- .../subpanels/ModelManagerPanel/ModelList.tsx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelList.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelList.tsx index 7e9ec2cad6..f531fc2f9a 100644 --- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelList.tsx +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelList.tsx @@ -72,7 +72,8 @@ const ModelList = () => { [vaeModels, searchTerm, filteredModelType] ); - const [spandrelImageToImageModels, { isLoading: isLoadingSpandrelImageToImageModels }] = useSpandrelImageToImageModels(); + const [spandrelImageToImageModels, { isLoading: isLoadingSpandrelImageToImageModels }] = + useSpandrelImageToImageModels(); const filteredSpandrelImageToImageModels = useMemo( () => modelsFilter(spandrelImageToImageModels, searchTerm, filteredModelType), [spandrelImageToImageModels, searchTerm, filteredModelType] @@ -153,9 +154,15 @@ const ModelList = () => { )} {/* Spandrel Image to Image List */} - {isLoadingSpandrelImageToImageModels && } + {isLoadingSpandrelImageToImageModels && ( + + )} {!isLoadingSpandrelImageToImageModels && filteredSpandrelImageToImageModels.length > 0 && ( - + )} {totalFilteredModels === 0 && (