Skip to content

Commit

Permalink
FWF-3971:[Feature] - Import type issue fix in form listing page.
Browse files Browse the repository at this point in the history
  • Loading branch information
Josephalexantony-aot committed Dec 10, 2024
1 parent 95ce621 commit 8ab8725
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions forms-flow-web/src/components/Form/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ const List = React.memo((props) => {


let data;
if(UploadActionType[actionType]){
data = { importType: "new", action: UploadActionType[actionType?.toUpperCase()]};
}else{
if ([UploadActionType.VALIDATE, UploadActionType.IMPORT].includes(actionType)) {
data = { importType: "new", action: actionType };
} else {
console.error("Invalid UploadActionType provided");
return;
}
Expand Down

0 comments on commit 8ab8725

Please sign in to comment.