update
This commit is contained in:
@ -1,18 +1,12 @@
|
||||
interface apiConfigProps {
|
||||
service_user: string;
|
||||
service_dashboard: string;
|
||||
service_master_data: string;
|
||||
service_bank: string;
|
||||
service_bg: string;
|
||||
service_credit: string;
|
||||
}
|
||||
|
||||
const API_URL = import.meta.env.VITE_APP_API_URL;
|
||||
const apiConfig: apiConfigProps = {
|
||||
service_user: `${API_URL}/u`,
|
||||
service_dashboard: `${API_URL}/d`,
|
||||
service_master_data: `${API_URL}/m`,
|
||||
service_bank: `${API_URL}/b`,
|
||||
service_bg: `${API_URL}/bg`,
|
||||
service_credit: `${API_URL}/c`
|
||||
};
|
||||
|
||||
export { apiConfig };
|
||||
|
||||
@ -7,50 +7,6 @@ export const MENU_SIDEBAR: TMenuConfig = [
|
||||
{
|
||||
title: 'Dashboard',
|
||||
path: '/'
|
||||
},
|
||||
{
|
||||
title: 'Pengajuan Kredit',
|
||||
children: [
|
||||
{
|
||||
title: 'Chart',
|
||||
path: '/pengajuan_kredit/chart'
|
||||
},
|
||||
{
|
||||
title: 'Summary',
|
||||
path: '/pengajuan_kredit/summary'
|
||||
},
|
||||
{
|
||||
title: 'List',
|
||||
path: '/pengajuan_kredit/list'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: 'Instansi',
|
||||
path: '/instansi'
|
||||
},
|
||||
{
|
||||
title: 'Configuration',
|
||||
children: [
|
||||
{
|
||||
title: 'User Management',
|
||||
children: [
|
||||
{
|
||||
title: 'Manage Position',
|
||||
path: '/configuration/user-management/manage-position'
|
||||
},
|
||||
{
|
||||
title: 'Manage User',
|
||||
path: '/configuration/user-management/manage-user'
|
||||
},
|
||||
|
||||
{
|
||||
title: 'Log Activity',
|
||||
path: '/configuration/user-management/log-activity'
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -67,7 +23,7 @@ export const MENU_SIDEBAR: TMenuConfig = [
|
||||
|
||||
export const MENU_ROOT: TMenuConfig = [
|
||||
{
|
||||
title: 'Pengajuan Kredit',
|
||||
title: 'Dashboard',
|
||||
icon: 'setting-2',
|
||||
rootPath: '/',
|
||||
path: '/',
|
||||
|
||||
Reference in New Issue
Block a user