This commit is contained in:
ivan-sim
2024-07-08 09:46:12 +07:00
parent 29180eee15
commit e3609a69b8
3 changed files with 14 additions and 2 deletions

View File

@@ -354,7 +354,7 @@ export default function List() {
const loadDataTableData = async (appliedFilter : any | null = null) => {
setDataTableLoading(true);
const filter = appliedFilter ? appliedFilter : Object.fromEntries([...searchParams.entries()]);
const response = await axios.get('/user/access', { params: filter });
const response = await axios.get('/user/access?guard_name=client-portal&', { params: filter });
console.log(response.data);
setDataTableLoading(false);

View File

@@ -351,7 +351,7 @@ export default function List() {
const loadDataTableData = async (appliedFilter : any | null = null) => {
setDataTableLoading(true);
const filter = appliedFilter ? appliedFilter : Object.fromEntries([...searchParams.entries()]);
const response = await axios.get('/user/role', { params: filter });
const response = await axios.get('/user/role?guard_name=client-portal&', { params: filter });
console.log(response.data);
setDataTableLoading(false);