Skip to content

Commit da69d8b

Browse files
authored
Merge pull request #1085 from IFRCGo/fix/appeal-table-filtering
Fix filtering in Appeals table for Africa Region
2 parents 481f0e8 + 909a5e2 commit da69d8b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"go-web-app": patch
3+
---
4+
5+
Fix Appeals table for Africa Region

app/src/components/domain/AppealsTable/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@ function AppealsTable(props: Props) {
225225

226226
return {
227227
...baseQuery,
228-
country: countryId ? [countryId] : undefined,
229-
region: regionId ? [regionId] : undefined,
228+
country: isDefined(countryId) ? [countryId] : undefined,
229+
region: isDefined(regionId) ? [regionId] : undefined,
230230
};
231231
},
232232
[

0 commit comments

Comments
 (0)