Skip to content
Snippets Groups Projects
Commit ec2a0bb3 authored by Simon Malesys's avatar Simon Malesys
Browse files

Fetch the stats when the stats page is mounted

parent d08d9354
No related branches found
No related tags found
No related merge requests found
Pipeline #155267 passed
......@@ -113,7 +113,11 @@ const plotConfig = {
responsive: true
}
onMounted(() => {
onMounted(async () => {
if (!statistics.value) {
await store.getStatistics()
}
buildSpeciesPlot()
buildSourcesPlot()
buildHeavySegmentsPlot()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment