diff --git a/.changeset/pink-dots-unite.md b/.changeset/pink-dots-unite.md new file mode 100644 index 0000000000..c1bbf3eaa5 --- /dev/null +++ b/.changeset/pink-dots-unite.md @@ -0,0 +1,5 @@ +--- +"@medusajs/dashboard": patch +--- + +fix(dashboard): customer `has_acccount` flag diff --git a/packages/admin/dashboard/src/routes/customer-groups/customer-group-add-customers/components/add-customers-form/add-customers-form.tsx b/packages/admin/dashboard/src/routes/customer-groups/customer-group-add-customers/components/add-customers-form/add-customers-form.tsx index ba9d7d667d..ef1d3491f8 100644 --- a/packages/admin/dashboard/src/routes/customer-groups/customer-group-add-customers/components/add-customers-form/add-customers-form.tsx +++ b/packages/admin/dashboard/src/routes/customer-groups/customer-group-add-customers/components/add-customers-form/add-customers-form.tsx @@ -66,7 +66,7 @@ export const AddCustomersForm = ({ const filters = useCustomerTableFilters() const { customers, count, isLoading, isError, error } = useCustomers({ - fields: "id,email,first_name,last_name,*groups", + fields: "id,email,first_name,last_name,has_account,*groups", ...searchParams, })