[UI] Fix broken dashboard link (#10577)
Ref: https://github.com/inventree/inventree/issues/10548
This commit is contained in:
parent
ac1eb85334
commit
e0559bb2b4
|
|
@ -27,7 +27,7 @@ export function getActions(navigate: NavigateFunction) {
|
|||
id: 'dashboard',
|
||||
label: t`Dashboard`,
|
||||
description: t`Go to the InvenTree dashboard`,
|
||||
onClick: () => {}, // navigate(menuItems.dashboard.link),
|
||||
onClick: () => navigate('/'),
|
||||
leftSection: <IconLink size='1.2rem' />
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue