diff --git a/web/app/components/base/features/feature-panel/file-upload/param-config-content.tsx b/web/app/components/base/features/feature-panel/file-upload/param-config-content.tsx index 452e3c9152..b481420aaa 100644 --- a/web/app/components/base/features/feature-panel/file-upload/param-config-content.tsx +++ b/web/app/components/base/features/feature-panel/file-upload/param-config-content.tsx @@ -38,7 +38,7 @@ const ParamConfigContent = ({ } = featuresStore!.getState() const newFeatures = produce(features, (draft) => { if (draft.file?.image) { - if (TransferMethod.all) + if (value === TransferMethod.all) draft.file.image.transfer_methods = [TransferMethod.remote_url, TransferMethod.local_file] else draft.file.image.transfer_methods = [value]