mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
Merge pull request #851 from codyogden/issue-705
Add tooltip to charts toggle.
This commit is contained in:
commit
0f752de047
@ -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…
Reference in New Issue
Block a user