This commit is contained in:
fro1991
2025-02-01 19:49:27 +07:00
parent 42c2a8e481
commit 13a2c4d42c
57 changed files with 159 additions and 295 deletions

View File

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

View File

@ -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: '/',