mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
More mobile fixes.
This commit is contained in:
parent
9a5604f236
commit
ddc7affa6a
6 changed files with 34 additions and 59 deletions
|
|
@ -9,7 +9,7 @@ import { MobileMenuButton } from '@/components/input/MobileMenuButton';
|
|||
|
||||
export function MobileNav() {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const { websiteId } = useNavigation();
|
||||
const { websiteId, renderUrl } = useNavigation();
|
||||
|
||||
const links = [
|
||||
{
|
||||
|
|
@ -42,7 +42,7 @@ export function MobileNav() {
|
|||
<NavButton />
|
||||
{links.map(link => {
|
||||
return (
|
||||
<Link key={link.id} href={link.path}>
|
||||
<Link key={link.id} href={renderUrl(link.path)}>
|
||||
<NavMenuItem>
|
||||
<IconLabel icon={link.icon} label={link.label} />
|
||||
</NavMenuItem>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue