Skip to content

Commit

Permalink
🐛 Save button always enabled for custom-target edit
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 committed Jun 30, 2023
1 parent bfe83ff commit 4f918e4
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,13 @@ export const CustomTargetForm: React.FC<CustomTargetFormProps> = ({
<MultipleFileUploadStatusItem
file={file.fullFile}
key={file.fileName}
customFileHandler={(file) => handleFile(file)}
customFileHandler={(file) => {
if (file.type === "placeholder") {
return null;
} else {
return handleFile(file);
}
}}
onClearClick={() => removeFiles([file.fileName])}
progressValue={getloadPercentage(file.fileName)}
progressVariant={getloadResult(file.fileName)}
Expand Down

0 comments on commit 4f918e4

Please sign in to comment.