fix(admin-ui): Add hook to customer group table (#5163)
* fix(admin-ui): Add hook to customer group table * Create many-trains-sort.md
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@medusajs/admin-ui": patch
|
||||
"@medusajs/admin": patch
|
||||
---
|
||||
|
||||
fix(admin-ui): Add hook to customer group table
|
||||
@@ -14,7 +14,7 @@ import Table from "../molecules/table"
|
||||
import DeletePrompt from "../organisms/delete-prompt"
|
||||
import EditUser from "../organisms/edit-user-modal"
|
||||
import { useTranslation } from "react-i18next"
|
||||
import { getAdminPath, getFullAdminPath } from "../../utils/get-admin-path"
|
||||
import { getFullAdminPath } from "../../utils/get-admin-path"
|
||||
|
||||
type UserListElement = {
|
||||
entity: any
|
||||
|
||||
@@ -66,6 +66,8 @@ function CustomerGroupCustomersList(props: CustomerGroupCustomersListProps) {
|
||||
// toggle to show/hide "edit customers" modal
|
||||
const [showCustomersModal, setShowCustomersModal] = useState(false)
|
||||
|
||||
const { t } = useTranslation()
|
||||
|
||||
const { q, queryObject, paginate, setQuery } =
|
||||
useQueryFilters(defaultQueryProps)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user