Skip to content

Commit 0daa163

Browse files
committed
fix: selected customers
1 parent bdc96e1 commit 0daa163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/frontend/src/components/launches/add.edit.model.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ export const AddEditModal: FC<{
538538
disableForm={true}
539539
>
540540
<option value="">Selected Customer</option>
541-
{uniqBy(ints, (u) => u?.customer?.name).map((p) => (
541+
{uniqBy(ints, (u) => u?.customer?.name).filter(f => f.customer?.name).map((p) => (
542542
<option key={p.customer?.id} value={p.customer?.id}>
543543
Customer: {p.customer?.name}
544544
</option>

0 commit comments

Comments
 (0)