mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 17:45:38 +01:00
Sessions page.
This commit is contained in:
parent
cd0f185f77
commit
ac60d08ee5
17 changed files with 414 additions and 16 deletions
|
|
@ -45,11 +45,11 @@ export function WebsiteHeader({
|
|||
icon: <Icons.Reports />,
|
||||
path: '/reports',
|
||||
},
|
||||
// {
|
||||
// label: formatMessage(labels.sessions),
|
||||
// icon: <Icons.User />,
|
||||
// path: '/sessions',
|
||||
// },
|
||||
{
|
||||
label: formatMessage(labels.sessions),
|
||||
icon: <Icons.User />,
|
||||
path: '/sessions',
|
||||
},
|
||||
{
|
||||
label: formatMessage(labels.events),
|
||||
icon: <Icons.Nodes />,
|
||||
|
|
@ -69,7 +69,7 @@ export function WebsiteHeader({
|
|||
<div className={styles.links}>
|
||||
{links.map(({ label, icon, path }) => {
|
||||
const selected = path
|
||||
? pathname.endsWith(path)
|
||||
? pathname.includes(path)
|
||||
: pathname.match(/^\/websites\/[\w-]+$/);
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue