fix(dashboard): stale params (#7630)
**What** - fix places where we send wrong params (strict validation is now returning 400s for these) - use SDK instead client for order details loader
This commit is contained in:
@@ -14,7 +14,6 @@ export const useCustomerTableFilters = (
|
||||
const { customer_groups } = useCustomerGroups(
|
||||
{
|
||||
limit: 1000,
|
||||
expand: "",
|
||||
},
|
||||
{
|
||||
enabled: !isGroupsExcluded,
|
||||
|
||||
@@ -10,13 +10,11 @@ export const useOrderTableFilters = (): Filter[] => {
|
||||
const { regions } = useRegions({
|
||||
limit: 1000,
|
||||
fields: "id,name",
|
||||
expand: "",
|
||||
})
|
||||
|
||||
const { sales_channels } = useSalesChannels({
|
||||
limit: 1000,
|
||||
fields: "id,name",
|
||||
expand: "",
|
||||
})
|
||||
|
||||
let filters: Filter[] = []
|
||||
|
||||
Reference in New Issue
Block a user