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
@@ -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