mirror of
https://github.com/spliit-app/spliit.git
synced 2026-03-01 02:46:12 +01:00
add shares to paidFor in reimbursement (#32)
This commit is contained in:
@@ -76,7 +76,7 @@ export function ExpenseForm({ group, expense, onSubmit, onDelete }: Props) {
|
|||||||
paidBy: searchParams.get('from') ?? undefined,
|
paidBy: searchParams.get('from') ?? undefined,
|
||||||
paidFor: [
|
paidFor: [
|
||||||
searchParams.get('to')
|
searchParams.get('to')
|
||||||
? { participant: searchParams.get('to')! }
|
? { participant: searchParams.get('to')!, shares: 1 }
|
||||||
: undefined,
|
: undefined,
|
||||||
],
|
],
|
||||||
isReimbursement: true,
|
isReimbursement: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user