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:
1 parent
ef2a12e451
commit
78b50ac0c4
3 files changed
+9
-1
No files matched your search
@@ -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 DeletePrompt from "../organisms/delete-prompt"
|
||||||
import EditUser from "../organisms/edit-user-modal"
|
import EditUser from "../organisms/edit-user-modal"
|
||||||
import { useTranslation } from "react-i18next"
|
import { useTranslation } from "react-i18next"
|
||||||
import { getAdminPath, getFullAdminPath } from "../../utils/get-admin-path"
|
import { getFullAdminPath } from "../../utils/get-admin-path"
|
||||||
|
|
||||||
type UserListElement = {
|
type UserListElement = {
|
||||||
entity: any
|
entity: any
|
||||||
|
|||||||
@@ -66,6 +66,8 @@ function CustomerGroupCustomersList(props: CustomerGroupCustomersListProps) {
|
|||||||
// toggle to show/hide "edit customers" modal
|
// toggle to show/hide "edit customers" modal
|
||||||
const [showCustomersModal, setShowCustomersModal] = useState(false)
|
const [showCustomersModal, setShowCustomersModal] = useState(false)
|
||||||
|
|
||||||
|
const { t } = useTranslation()
|
||||||
|
|
||||||
const { q, queryObject, paginate, setQuery } =
|
const { q, queryObject, paginate, setQuery } =
|
||||||
useQueryFilters(defaultQueryProps)
|
useQueryFilters(defaultQueryProps)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user