Admin
Add: - app/(application)/(admin)/ ## No Issue
This commit is contained in:
@@ -52,11 +52,17 @@ export const drawerItemsProfile = ({
|
||||
label: "Tambah portofolio",
|
||||
path: `/(application)/portofolio/${id}/create`,
|
||||
},
|
||||
// {
|
||||
// icon: "settings",
|
||||
// label: "Dashboard Admin",
|
||||
// path: `/(application)/profile/dashboard-admin`,
|
||||
// },
|
||||
{
|
||||
icon: (
|
||||
<Ionicons
|
||||
name="settings"
|
||||
size={ICON_SIZE_MEDIUM}
|
||||
color={AccentColor.white}
|
||||
/>
|
||||
),
|
||||
label: "Dashboard Admin",
|
||||
path: `/(application)/(admin)/dashboard`,
|
||||
},
|
||||
{
|
||||
icon: (
|
||||
<Ionicons
|
||||
|
||||
@@ -26,9 +26,14 @@ export default function Profile_MenuDrawerSection({
|
||||
<>
|
||||
{/* Menu Items */}
|
||||
<MenuDrawerDynamicGrid
|
||||
data={drawerItems}
|
||||
data={drawerItems.map((item) => ({
|
||||
icon: item.icon,
|
||||
label: item.label,
|
||||
path: item.path as any,
|
||||
color: item.color,
|
||||
}))}
|
||||
columns={4} // Ubah ke 2 jika ingin 2 kolom per baris
|
||||
onPressItem={handlePress}
|
||||
onPressItem={(item) => handlePress(item as any)}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user