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

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;
})}