Skip to content

Commit 6192ff5

Browse files
Pfannkuchensackblessedcoolant
authored andcommitted
feat: remove the ModelFooter in the ModelView and add the Delete Model Button from the Footer into the View
1 parent 066ba5f commit 6192ff5

File tree

1 file changed

+2
-2
lines changed
  • invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel

1 file changed

+2
-2
lines changed

invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import type { AnyModelConfig } from 'services/api/types';
1212

1313
import { MainModelDefaultSettings } from './MainModelDefaultSettings/MainModelDefaultSettings';
1414
import { ModelAttrView } from './ModelAttrView';
15-
import { ModelFooter } from './ModelFooter';
1615
import { ModelReidentifyButton } from './ModelReidentifyButton';
16+
import { ModelDeleteButton } from './ModelDeleteButton';
1717
import { RelatedModels } from './RelatedModels';
1818

1919
type Props = {
@@ -47,6 +47,7 @@ export const ModelView = memo(({ modelConfig }: Props) => {
4747
{modelConfig.format === 'checkpoint' && modelConfig.type === 'main' && (
4848
<ModelConvertButton modelConfig={modelConfig} />
4949
)}
50+
<ModelDeleteButton modelConfig={modelConfig} />
5051
<ModelEditButton />
5152
<ModelReidentifyButton modelConfig={modelConfig} />
5253
</ModelHeader>
@@ -103,7 +104,6 @@ export const ModelView = memo(({ modelConfig }: Props) => {
103104
<RelatedModels modelConfig={modelConfig} />
104105
</Box>
105106
</Flex>
106-
<ModelFooter modelConfig={modelConfig} isEditing={false} />
107107
</Flex>
108108
);
109109
});

0 commit comments

Comments
 (0)