Skip to content

Commit

Permalink
Hide possible early action when empty on country risk
Browse files Browse the repository at this point in the history
  • Loading branch information
frozenhelium authored and samshara committed Dec 5, 2023
1 parent 7f2d573 commit ae7bd60
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ function PossibleEarlyActionTable(props: Props) {
},
});

if (!filtered && possibleEarlyActionResponse?.count === 0) {
return null;
}

return (
<Container
className={styles.possibleEarlyActionTable}
Expand Down

0 comments on commit ae7bd60

Please sign in to comment.