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ć
2024-09-23 17:58:32 +02:00
committed by GitHub
parent ab9051d3f5
commit d238dd0099

View File

@@ -60,7 +60,7 @@ export const PriceListCustomerGroupRuleForm = ({
})
const { customer_groups, count, isLoading, isError, error } =
useCustomerGroups(
{ ...searchParams, fields: "customers.id" },
{ ...searchParams, fields: "id,name,customers.id" },
{
placeholderData: keepPreviousData,
}