From d238dd00998a8a3b923de60f5f975877c4aa3c48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frane=20Poli=C4=87?= <16856471+fPolic@users.noreply.github.com> Date: Mon, 23 Sep 2024 17:58:32 +0200 Subject: [PATCH] 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 --- .../price-list-customer-group-rule-form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/admin/dashboard/src/routes/price-lists/common/components/price-list-customer-group-rule-form/price-list-customer-group-rule-form.tsx b/packages/admin/dashboard/src/routes/price-lists/common/components/price-list-customer-group-rule-form/price-list-customer-group-rule-form.tsx index 7819de8405..a4a9df167d 100644 --- a/packages/admin/dashboard/src/routes/price-lists/common/components/price-list-customer-group-rule-form/price-list-customer-group-rule-form.tsx +++ b/packages/admin/dashboard/src/routes/price-lists/common/components/price-list-customer-group-rule-form/price-list-customer-group-rule-form.tsx @@ -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, }