mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +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 (
|
||||
<Page>
|
||||
<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>
|
||||
{data.map(({ website_id, name, domain }) => (
|
||||
<div key={website_id} className={styles.website}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue