mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 14:47:14 +01:00
Merge pull request #851 from codyogden/issue-705
Add tooltip to charts toggle.
This commit is contained in:
commit
0f752de047
1 changed files with 5 additions and 1 deletions
|
|
@ -40,7 +40,11 @@ export default function WebsiteList({ userId }) {
|
||||||
return (
|
return (
|
||||||
<Page>
|
<Page>
|
||||||
<div className={styles.menubar}>
|
<div className={styles.menubar}>
|
||||||
<Button icon={<Chart />} onClick={() => setHideCharts(!hideCharts)} />
|
<Button
|
||||||
|
tooltip={<FormattedMessage id="message.toggle-charts" defaultMessage="Toggle Charts" />}
|
||||||
|
icon={<Chart />}
|
||||||
|
onClick={() => setHideCharts(!hideCharts)}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
{data.map(({ website_id, name, domain }) => (
|
{data.map(({ website_id, name, domain }) => (
|
||||||
<div key={website_id} className={styles.website}>
|
<div key={website_id} className={styles.website}>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue