fix: selected customers

This commit is contained in:
Nevo David 2024-12-27 15:48:30 +07:00
parent bdc96e17a7
commit 0daa163151
1 changed files with 1 additions and 1 deletions

View File

@ -538,7 +538,7 @@ export const AddEditModal: FC<{
disableForm={true}
>
<option value="">Selected Customer</option>
{uniqBy(ints, (u) => u?.customer?.name).map((p) => (
{uniqBy(ints, (u) => u?.customer?.name).filter(f => f.customer?.name).map((p) => (
<option key={p.customer?.id} value={p.customer?.id}>
Customer: {p.customer?.name}
</option>