From 7217067690ea2b855e6939ddde8662f423a892c5 Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Thu, 11 Oct 2018 11:48:57 +0100 Subject: [PATCH] Added any tutor option to stats page too. --- frontend/src/views/Stats.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/Stats.vue b/frontend/src/views/Stats.vue index 3c8aed6..62c387e 100644 --- a/frontend/src/views/Stats.vue +++ b/frontend/src/views/Stats.vue @@ -142,7 +142,9 @@ export default { Vue.axios .get("/site/" + this.siteSelection + "/tutors") .then(response => { - this.tutorOptions = response.data; + this.tutorOptions = [{ text: "Any", value: null }].concat( + response.data + ); }); } },