From bbfa00e3a1f9ce099a1f5554dede5df7c31416bc Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Tue, 9 Oct 2018 13:09:02 +0100 Subject: [PATCH] Moved the view for starting a new observation. --- frontend/src/App.vue | 2 +- frontend/src/router.js | 8 ++++---- frontend/src/views/{Home.vue => StartNew.vue} | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) rename frontend/src/views/{Home.vue => StartNew.vue} (99%) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 2d0219f..7454046 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -5,7 +5,7 @@ Observation Database - New Observation + New Observation View Observations Graphs diff --git a/frontend/src/router.js b/frontend/src/router.js index 8447efe..99c7587 100644 --- a/frontend/src/router.js +++ b/frontend/src/router.js @@ -1,6 +1,6 @@ import Vue from "vue"; import Router from "vue-router"; -import Home from "./views/Home.vue"; +import StartNew from "./views/StartNew.vue"; import Observation from "./views/Observation.vue"; import Stats from "./views/Stats.vue"; import NewSite from "./views/NewSite.vue"; @@ -13,9 +13,9 @@ Vue.use(Router); export default new Router({ routes: [ { - path: "/", - name: "home", - component: Home + path: "/new", + name: "startnew", + component: StartNew }, { path: "/observation", diff --git a/frontend/src/views/Home.vue b/frontend/src/views/StartNew.vue similarity index 99% rename from frontend/src/views/Home.vue rename to frontend/src/views/StartNew.vue index ae52769..82cabd5 100644 --- a/frontend/src/views/Home.vue +++ b/frontend/src/views/StartNew.vue @@ -86,7 +86,7 @@ import {mapState, mapMutations} from "vuex"; export default { - name: "home", + name: "startnew", data() { return { siteOptions: [],