Skip to content

Commit 26675ba

Browse files
committed
fix condition
1 parent 11385b8 commit 26675ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/AddUnreportedExpense.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function AddUnreportedExpense({route}: AddUnreportedExpensePageType) {
3838
if (!transactions) {
3939
return [];
4040
}
41-
return Object.values(transactions || {}).filter((item) => item?.reportID === '0');
41+
return Object.values(transactions || {}).filter((item) => item?.reportID === '0' || !!item?.reportID);
4242
}
4343

4444
const [transactions = []] = useOnyx(ONYXKEYS.COLLECTION.TRANSACTION, {

0 commit comments

Comments
 (0)