Moved the view for starting a new observation.
This commit is contained in:
parent
1757fc0d9d
commit
bbfa00e3a1
@ -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>
|
||||
|
@ -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",
|
||||
|
@ -86,7 +86,7 @@
|
||||
import {mapState, mapMutations} from "vuex";
|
||||
|
||||
export default {
|
||||
name: "home",
|
||||
name: "startnew",
|
||||
data() {
|
||||
return {
|
||||
siteOptions: [],
|
Loading…
Reference in New Issue
Block a user