mirror of
https://github.com/inventree/InvenTree.git
synced 2025-10-14 21:22:20 +00:00
[UI] Fix broken dashboard link (#10577)
Ref: https://github.com/inventree/inventree/issues/10548
This commit is contained in:
@@ -27,7 +27,7 @@ export function getActions(navigate: NavigateFunction) {
|
|||||||
id: 'dashboard',
|
id: 'dashboard',
|
||||||
label: t`Dashboard`,
|
label: t`Dashboard`,
|
||||||
description: t`Go to the InvenTree dashboard`,
|
description: t`Go to the InvenTree dashboard`,
|
||||||
onClick: () => {}, // navigate(menuItems.dashboard.link),
|
onClick: () => navigate('/'),
|
||||||
leftSection: <IconLink size='1.2rem' />
|
leftSection: <IconLink size='1.2rem' />
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user