Moved the view for starting a new observation.

This commit is contained in:
neviyn 2018-10-09 13:09:02 +01:00
parent 1757fc0d9d
commit bbfa00e3a1
3 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@
<b-navbar-brand to="/">Observation Database</b-navbar-brand>
<b-collapse is-nav id="nav_collapse">
<b-navbar-nav>
<b-nav-item to="/">New Observation</b-nav-item>
<b-nav-item to="/new">New Observation</b-nav-item>
<b-nav-item to="/observations">View Observations</b-nav-item>
<b-nav-item to="/stats">Graphs</b-nav-item>
</b-navbar-nav>

View File

@ -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",

View File

@ -86,7 +86,7 @@
import {mapState, mapMutations} from "vuex";
export default {
name: "home",
name: "startnew",
data() {
return {
siteOptions: [],