fix(dashboard): customer groups table fileds (#9262)

**What**
- a fix pushed this morning results in customer groups also having just id returned and other fields are omitted
This commit is contained in:
Frane Polić authored and GitHub committed 2024-09-23 15:58:32 +00:00
1 parent ab9051d3f5
commit d238dd0099
1 file changed
+1 -1
@@ -60,7 +60,7 @@ export const PriceListCustomerGroupRuleForm = ({
}) })
const { customer_groups, count, isLoading, isError, error } = const { customer_groups, count, isLoading, isError, error } =
useCustomerGroups( useCustomerGroups(
{ ...searchParams, fields: "customers.id" }, { ...searchParams, fields: "id,name,customers.id" },
{ {
placeholderData: keepPreviousData, placeholderData: keepPreviousData,
} }