Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

fix: selected customers

Nevo David0daa163151e6
diff --git a/apps/frontend/src/components/launches/add.edit.model.tsx b/apps/frontend/src/components/launches/add.edit.model.tsx
index 99b2cdb1a..6cfcbaf5b 100644
--- a/apps/frontend/src/components/launches/add.edit.model.tsx
+++ b/apps/frontend/src/components/launches/add.edit.model.tsx
@@ -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>