diff --git a/pages/admin/dashboard.vue b/pages/admin/dashboard.vue index 5228568..a404252 100644 --- a/pages/admin/dashboard.vue +++ b/pages/admin/dashboard.vue @@ -593,8 +593,11 @@ export default { }, mounted() { this.$store.commit("setActiveMenu", "admin-dashboard"); - this.initLastThirtyDaysCharts(this.lastThirtyDays) - this.initHistoryCharts(this.history) + setTimeout(() => { + this.initLastThirtyDaysCharts(this.lastThirtyDays) + this.initHistoryCharts(this.history) + }, 500); + } } diff --git a/pages/open-data.vue b/pages/open-data.vue index 7ba5d18..c304a89 100644 --- a/pages/open-data.vue +++ b/pages/open-data.vue @@ -155,7 +155,9 @@ export default { }, mounted() { this.$store.commit("setActiveMenu", "open-data"); - this.initLastThirtyDaysCharts(this.lastThirtyDays) + setTimeout(() => { + this.initLastThirtyDaysCharts(this.lastThirtyDays) + }, 500); } }