Skip to content

Commit

Permalink
UIBULKED-312: CSV: On cancel button click uploaded file should be del…
Browse files Browse the repository at this point in the history
…eted
  • Loading branch information
UladzislauKutarkin committed Sep 11, 2023
1 parent 94709bf commit 6f7add0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ const BulkEditManualUploadModal = ({
} catch {
swwCallout(swwErrorMessage);
} finally {
handleCancel();
setCurrentStep(MANUAL_UPLOAD_STEPS.UPLOAD);
setFileName('');
onCancel();
}
};

Expand Down

0 comments on commit 6f7add0

Please sign in to comment.