diff --git a/components/CountTo.vue b/components/CountTo.vue index bf828608d..3083040f5 100644 --- a/components/CountTo.vue +++ b/components/CountTo.vue @@ -5,7 +5,7 @@ tag="span" > { + this.isReady = true + }, 500) } } diff --git a/pages/admin/index.vue b/pages/admin/index.vue index 3841496f8..349e372e8 100644 --- a/pages/admin/index.vue +++ b/pages/admin/index.vue @@ -13,7 +13,7 @@ > @@ -30,7 +30,7 @@ > @@ -47,7 +47,7 @@ > @@ -64,7 +64,7 @@ > @@ -81,7 +81,7 @@ > @@ -98,7 +98,7 @@ > @@ -115,7 +115,7 @@ > @@ -132,7 +132,7 @@ > @@ -149,7 +149,7 @@ > @@ -172,8 +172,7 @@ export default { }, data() { return { - statistics: {}, - statisticsBefore: {} + statistics: {} } }, computed: { @@ -181,13 +180,6 @@ export default { return process.client } }, - watch: { - statistics(newVal) { - setTimeout(() => { - this.statisticsBefore = { ...this.statistics } - }, 3000) - } - }, mounted() { this.$apollo.queries.statistics.startPolling(5000) },