From c4fb3e580034b36fb1fdc9cd79a0b03a9eeba3aa Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Thu, 11 Oct 2018 11:45:58 +0100 Subject: [PATCH] Added option to tutor list for no filtering. --- frontend/src/views/ViewObservations.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/ViewObservations.vue b/frontend/src/views/ViewObservations.vue index 59bd68a..17a02a5 100644 --- a/frontend/src/views/ViewObservations.vue +++ b/frontend/src/views/ViewObservations.vue @@ -170,7 +170,7 @@ export default { Vue.axios .get("/site/" + this.siteSelection + "/tutors") .then(response => { - this.tutorOptions = response.data; + this.tutorOptions = [{text:"Any", value:null}].concat(response.data); }); } }