Skip to content

Commit 047fec6

Browse files
authored
Merge pull request #42501 from bernhardoj/fix/40934-no-error-when-creating-impossible-route
Fix no error message appears when trying to create an impossible route
2 parents 2985e72 + f21f5ca commit 047fec6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libs/actions/Transaction.ts

+3
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ function saveWaypoint(transactionID: string, index: string, waypoint: RecentWayp
7373
waypoints: {
7474
[`waypoint${index}`]: waypoint,
7575
},
76+
customUnit: {
77+
quantity: null,
78+
},
7679
},
7780
// We want to reset the amount only for draft transactions (when creating the expense).
7881
// When modifying an existing transaction, the amount will be updated on the actual IOU update operation.

0 commit comments

Comments
 (0)