fix: validate gpu_selector value before check
This commit is contained in:
@@ -27,9 +27,6 @@ const OllamaForm: React.FC = () => {
|
||||
};
|
||||
|
||||
const handleOnBlur = (e: any) => {
|
||||
if (!e.target.value) {
|
||||
return;
|
||||
}
|
||||
onValuesChange?.({}, formInstance.getFieldsValue());
|
||||
};
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user