fix: validate gpu_selector value before check
This commit is contained in:
@@ -191,9 +191,6 @@ const AdvanceConfig: React.FC<AdvanceConfigProps> = (props) => {
|
||||
};
|
||||
|
||||
const handleGpuSelectorChange = (value: any[] | string) => {
|
||||
if (!value?.length || !value) {
|
||||
return;
|
||||
}
|
||||
onValuesChange?.({}, form.getFieldsValue());
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user