fix: gguf input box is hidden when deploying from model files

This commit is contained in:
jialin
2026-05-19 12:16:02 +08:00
committed by jialin
parent bcea46fa8f
commit 0b3884b1a5
4 changed files with 5 additions and 7 deletions
-5
View File
@@ -45,11 +45,6 @@ const BackendFields: React.FC = () => {
useCompareEnvs();
const handleBackendVersionOnChange = (value: any, option: any) => {
// const oldEnvs = _.get(initialValues, 'env') || {};
// const newEnvs = option.data?.env || {};
// handleCompareEnvs(oldEnvs, newEnvs);
if (Object.keys(option.data?.env || {}).length > 0) {
form.setFieldValue('env', { ...(option?.data?.env || {}) });
}