mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Pass domain to realtime components.
This commit is contained in:
parent
7d3334ccce
commit
5657a64c77
8 changed files with 9 additions and 75 deletions
|
|
@ -22,7 +22,7 @@ export default function WebsiteSelect({ websiteId, onSelect }) {
|
|||
placeholder={formatMessage(labels.selectWebsite)}
|
||||
style={{ width: 200 }}
|
||||
>
|
||||
{item => <Item key={item.id}>{item.name}</Item>}
|
||||
{({ id, name }) => <Item key={id}>{name}</Item>}
|
||||
</Dropdown>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue