mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 09:05:36 +01:00
Fixed reports.
This commit is contained in:
parent
3e9cb66db2
commit
530d6fb323
12 changed files with 59 additions and 33 deletions
|
|
@ -226,7 +226,7 @@ const ResultsMenu = ({ values, type, isLoading, onSelect }) => {
|
|||
|
||||
return (
|
||||
<Menu className={styles.menu} variant="popup" onSelect={onSelect}>
|
||||
{values?.map((value: any) => {
|
||||
{values?.map(({ value }) => {
|
||||
return <Item key={value}>{formatValue(value, type)}</Item>;
|
||||
})}
|
||||
</Menu>
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ export function SessionsWeekly({ websiteId }: { websiteId: string }) {
|
|||
{day?.map((hour: number, n) => {
|
||||
const pct = hour / max;
|
||||
return (
|
||||
<div key={`${index}_${n}_${hour}`} className={classNames(styles.cell)}>
|
||||
<div key={n} className={classNames(styles.cell)}>
|
||||
{hour > 0 && (
|
||||
<TooltipPopup
|
||||
label={`${formatMessage(labels.visitors)}: ${hour}`}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue