Fix toggle charts in dashboard

This commit is contained in:
Maxime-J 2023-07-13 10:02:35 +00:00
parent 7bfbe26485
commit bdd941fd6b

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