diff --git a/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/ModelManagerTab.tsx b/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/ModelManagerTab.tsx index 70de375774..9aced0dda8 100644 --- a/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/ModelManagerTab.tsx +++ b/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/ModelManagerTab.tsx @@ -46,9 +46,11 @@ const ModelManagerTab = () => { ))} - + {tabs.map((tab) => ( - {tab.content} + + {tab.content} + ))} diff --git a/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel.tsx b/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel.tsx index d2beb3a674..f49294cfb0 100644 --- a/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel.tsx +++ b/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel.tsx @@ -18,7 +18,7 @@ export default function ModelManagerPanel() { }); return ( - + { return ( - Pick A Model To Edit + No Model Selected ); }; 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 84ed784d1e..5ad0016fea 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,13 +1,11 @@ import { DeleteIcon } from '@chakra-ui/icons'; -import { Box, Flex, Spacer, Text, Tooltip } from '@chakra-ui/react'; +import { Button, Flex, Text, Tooltip } from '@chakra-ui/react'; import { useAppSelector } from 'app/store/storeHooks'; import IAIAlertDialog from 'common/components/IAIAlertDialog'; -import IAIButton from 'common/components/IAIButton'; import IAIIconButton from 'common/components/IAIIconButton'; import { selectIsBusy } from 'features/system/store/systemSelectors'; import { useCallback } from 'react'; import { useTranslation } from 'react-i18next'; -import { FaEdit } from 'react-icons/fa'; import { MainModelConfigEntity, useDeleteMainModelsMutation, @@ -38,40 +36,33 @@ export default function ModelListItem(props: ModelListItemProps) { return ( - - - {model.model_name} - - - - } - size="sm" - onClick={handleSelectModel} - aria-label={t('accessibility.modifyConfig')} - isDisabled={isBusy} - variant="link" - /> + + {model.model_name} +