mirror of
https://github.com/umami-software/umami.git
synced 2026-02-16 10:35:35 +01:00
Responsive everything.
This commit is contained in:
parent
9df012084d
commit
4d2a7ea947
23 changed files with 286 additions and 287 deletions
|
|
@ -22,7 +22,13 @@ import {
|
|||
} from '@/components/icons';
|
||||
import { Lightning } from '@/components/svg';
|
||||
|
||||
export function WebsiteExpandedMenu({ excludedIds = [] }: { excludedIds?: string[] }) {
|
||||
export function WebsiteExpandedMenu({
|
||||
excludedIds = [],
|
||||
onItemClick,
|
||||
}: {
|
||||
excludedIds?: string[];
|
||||
onItemClick?: () => void;
|
||||
}) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const {
|
||||
updateParams,
|
||||
|
|
@ -173,5 +179,5 @@ export function WebsiteExpandedMenu({ excludedIds = [] }: { excludedIds?: string
|
|||
},
|
||||
];
|
||||
|
||||
return <SideMenu items={items} selectedKey={view} />;
|
||||
return <SideMenu items={items} selectedKey={view} onItemClick={onItemClick} />;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue