mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 15:47:13 +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
|
|
@ -1,6 +1,5 @@
|
|||
import { Row, Column } from 'react-basics';
|
||||
import { Row, Column, Text } from 'react-basics';
|
||||
import Favicon from 'components/common/Favicon';
|
||||
import OverflowText from 'components/common/OverflowText';
|
||||
import ActiveUsers from './ActiveUsers';
|
||||
import styles from './WebsiteHeader.module.css';
|
||||
|
||||
|
|
@ -9,7 +8,7 @@ export default function WebsiteHeader({ websiteId, title, domain, children }) {
|
|||
<Row className={styles.header} justifyContent="center">
|
||||
<Column className={styles.title} variant="two">
|
||||
<Favicon domain={domain} />
|
||||
<OverflowText tooltipId={`${websiteId}-title`}>{title}</OverflowText>
|
||||
<Text>{title}</Text>
|
||||
</Column>
|
||||
<Column className={styles.body} variant="two">
|
||||
<ActiveUsers websiteId={websiteId} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue