mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 07:37:11 +01:00
Fixed issue with realtime page rendering.
This commit is contained in:
parent
2290be7ca4
commit
994cf950c8
4 changed files with 28 additions and 29 deletions
|
|
@ -9,11 +9,14 @@ import styles from './RealtimeHeader.module.css';
|
|||
|
||||
export default function RealtimeHeader({ websites, data, websiteId, onSelect }) {
|
||||
const options = [
|
||||
{ label: <FormattedMessage id="label.all-websites" defaultMessage="All websites" />, value: 0 },
|
||||
{
|
||||
label: <FormattedMessage id="label.all-websites" defaultMessage="All websites" />,
|
||||
value: null,
|
||||
},
|
||||
].concat(
|
||||
websites.map(({ name, id }, index) => ({
|
||||
websites.map(({ name, websiteUuid }, index) => ({
|
||||
label: name,
|
||||
value: id,
|
||||
value: websiteUuid,
|
||||
divider: index === 0,
|
||||
})),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue