Skip to content

Commit

Permalink
Merge pull request #2411 from Josephalexantony-aot/Feature/FWF-3971-I…
Browse files Browse the repository at this point in the history
…mport-Type

FWF-3971:[Feature] - Import type issue fix  in form listing page.
  • Loading branch information
arun-s-aot authored Dec 10, 2024
2 parents 95ce621 + 8ab8725 commit 887dca3
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 887dca3

Please sign in to comment.