mirror of
https://github.com/spliit-app/spliit.git
synced 2025-12-06 09:29:39 +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,
|
||||
paidFor: [
|
||||
searchParams.get('to')
|
||||
? { participant: searchParams.get('to')! }
|
||||
? { participant: searchParams.get('to')!, shares: 1 }
|
||||
: undefined,
|
||||
],
|
||||
isReimbursement: true,
|
||||
|
||||
Reference in New Issue
Block a user