mirror of
https://github.com/spliit-app/spliit.git
synced 2026-02-10 01:26:12 +01:00
Bug: Fixed wrong paid by Name in Reimbursement (#134)
This commit is contained in:
@@ -156,7 +156,7 @@ export function ExpenseForm({
|
||||
const getSelectedPayer = (field?: { value: string }) => {
|
||||
if (isCreate && typeof window !== 'undefined') {
|
||||
const activeUser = localStorage.getItem(`${group.id}-activeUser`)
|
||||
if (activeUser && activeUser !== 'None') {
|
||||
if (activeUser && activeUser !== 'None' && field?.value === undefined) {
|
||||
return activeUser
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user