Merge pull request #2121 from Maxime-J/toggleCharts

Fix toggle charts in dashboard
This commit is contained in:
Mike Cao 2023-07-13 13:20:30 -07:00 committed by GitHub
commit 9fae1a9ba7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ export default function WebsiteChartList({ websites, showCharts, limit }) {
</Link>
</WebsiteHeader>
<WebsiteMetricsBar websiteId={id} />
<WebsiteChart websiteId={id} showChart={showCharts} />
{showCharts && <WebsiteChart websiteId={id} />}
</div>
) : null;
})}