From bd4eaa455a7c390a8bacf3d95d442be4b8b1e102 Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Tue, 18 Jul 2023 23:58:07 +1200 Subject: [PATCH] fix: Update text to Badge in ModelListItem --- .../ModelManagerPanel/ModelListItem.tsx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/ModelListItem.tsx b/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/ModelListItem.tsx index 24842d8eb2..224b0ac003 100644 --- a/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/ModelListItem.tsx +++ b/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/ModelListItem.tsx @@ -1,5 +1,5 @@ import { DeleteIcon } from '@chakra-ui/icons'; -import { Flex, Text, Tooltip } from '@chakra-ui/react'; +import { Badge, Flex, Text, Tooltip } from '@chakra-ui/react'; import { makeToast } from 'app/components/Toaster'; import { useAppDispatch, useAppSelector } from 'app/store/storeHooks'; import IAIAlertDialog from 'common/components/IAIAlertDialog'; @@ -98,15 +98,14 @@ export default function ModelListItem(props: ModelListItemProps) { onClick={handleSelectModel} > - { @@ -114,7 +113,7 @@ export default function ModelListItem(props: ModelListItemProps) { model.base_model as keyof typeof modelBaseTypeMap ] } - + {model.model_name}