diff --git a/frontend/src/views/Stats.vue b/frontend/src/views/Stats.vue index 1bbae9d..1ae7974 100644 --- a/frontend/src/views/Stats.vue +++ b/frontend/src/views/Stats.vue @@ -8,9 +8,11 @@ import StatsView from "../components/StatsView"; export default { name: "stats", components: { StatsView }, - data() { - chartData: null; - options: null; + data: function() { + return { + chartData: null, + options: null + }; }, methods: { getAllTimeAverage: function() {