Skip to content

Commit 33a5ded

Browse files
frozenheliumsamshara
authored andcommitted
Hide possible early action when empty on country risk
1 parent d9e462d commit 33a5ded

File tree

1 file changed

+4
-0
lines changed
  • src/views/CountryRiskWatch/PossibleEarlyActionTable

1 file changed

+4
-0
lines changed

src/views/CountryRiskWatch/PossibleEarlyActionTable/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ function PossibleEarlyActionTable(props: Props) {
143143
},
144144
});
145145

146+
if (!filtered && possibleEarlyActionResponse?.count === 0) {
147+
return null;
148+
}
149+
146150
return (
147151
<Container
148152
className={styles.possibleEarlyActionTable}

0 commit comments

Comments
 (0)