upd: connected api monitoring
Deskripsi: - list user - tampilan page list user No Issues
This commit is contained in:
@@ -9,4 +9,6 @@ export const API_URLS = {
|
||||
`${API_BASE_URL}/api/monitoring/grid-villages?id=${id}`,
|
||||
graphLogVillages: (id: string, time: string) =>
|
||||
`${API_BASE_URL}/api/monitoring/graph-log-villages?id=${id}&time=${time}`,
|
||||
getUsers: (page: number, search: string) =>
|
||||
`${API_BASE_URL}/api/monitoring/user?page=${page}&search=${encodeURIComponent(search)}`,
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { IconType } from 'react-icons'
|
||||
import { TbChartBar, TbHistory, TbAlertTriangle, TbSettings, TbShoppingCart, TbPackage, TbCreditCard, TbBuilding } from 'react-icons/tb'
|
||||
import { TbAlertTriangle, TbBuilding, TbChartBar, TbCreditCard, TbHistory, TbPackage, TbShoppingCart, TbUsers } from 'react-icons/tb'
|
||||
|
||||
export interface MenuItem {
|
||||
value: string
|
||||
@@ -23,6 +23,7 @@ export const APP_CONFIGS: Record<string, AppConfig> = {
|
||||
{ value: 'logs', label: 'Log Activity', icon: TbHistory, to: '/apps/desa-plus/logs' },
|
||||
{ value: 'errors', label: 'Error Reports', icon: TbAlertTriangle, to: '/apps/desa-plus/errors' },
|
||||
{ value: 'villages', label: 'Villages', icon: TbBuilding, to: '/apps/desa-plus/villages' },
|
||||
{ value: 'users', label: 'Users', icon: TbUsers, to: '/apps/desa-plus/users' },
|
||||
],
|
||||
},
|
||||
'e-commerce': {
|
||||
|
||||
Reference in New Issue
Block a user