diff --git a/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/CheckpointModelEdit.tsx b/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/CheckpointModelEdit.tsx index 30ec4cec32..105d2355e1 100644 --- a/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/CheckpointModelEdit.tsx +++ b/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/CheckpointModelEdit.tsx @@ -71,7 +71,7 @@ export default function CheckpointModelEdit(props: CheckpointModelEditProps) { const editModelFormSubmitHandler = (values: CheckpointModelConfig) => { const responseBody = { base_model: retrievedModel.base_model, - model_name: retrievedModel.name, + model_name: retrievedModel.model_name, body: values, }; updateMainModel(responseBody); diff --git a/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/DiffusersModelEdit.tsx b/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/DiffusersModelEdit.tsx index 343fa729fe..800babaf59 100644 --- a/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/DiffusersModelEdit.tsx +++ b/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/DiffusersModelEdit.tsx @@ -67,7 +67,7 @@ export default function DiffusersModelEdit(props: DiffusersModelEditProps) { const editModelFormSubmitHandler = (values: DiffusersModelConfig) => { const responseBody = { base_model: retrievedModel.base_model, - model_name: retrievedModel.name, + model_name: retrievedModel.model_name, body: values, }; updateMainModel(responseBody); diff --git a/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/ModelConvert.tsx b/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/ModelConvert.tsx index 63e5767585..1fc2eecfed 100644 --- a/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/ModelConvert.tsx +++ b/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/ModelConvert.tsx @@ -38,7 +38,7 @@ export default function ModelConvert(props: ModelConvertProps) { const modelConvertHandler = () => { const responseBody = { base_model: model.base_model, - model_name: model.name, + model_name: model.model_name, }; convertModel(responseBody); @@ -46,7 +46,9 @@ export default function ModelConvert(props: ModelConvertProps) { dispatch( addToast( makeToast({ - title: `${t('modelManager.modelConversionFailed')}: ${model.name}`, + title: `${t('modelManager.modelConversionFailed')}: ${ + model.model_name + }`, status: 'error', }) ) @@ -57,7 +59,7 @@ export default function ModelConvert(props: ModelConvertProps) { dispatch( addToast( makeToast({ - title: `${t('modelManager.modelConverted')}: ${model.name}`, + title: `${t('modelManager.modelConverted')}: ${model.model_name}`, status: 'success', }) ) @@ -67,7 +69,7 @@ export default function ModelConvert(props: ModelConvertProps) { return (