Skip to content

Commit

Permalink
Merge pull request umami-software#851 from codyogden/issue-705
Browse files Browse the repository at this point in the history
Add tooltip to charts toggle.
  • Loading branch information
mikecao authored Nov 20, 2021
2 parents 17e070b + c6bb0a6 commit 0f752de
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/pages/WebsiteList.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}>
Expand Down

0 comments on commit 0f752de

Please sign in to comment.