Add graphs/ route to client

This commit is contained in:
D. Berge
2021-09-04 19:15:16 +02:00
parent 019561229c
commit 6f6af1bbc7

View File

@@ -14,6 +14,7 @@ import SequenceSummary from '../views/SequenceSummary.vue'
import Calendar from '../views/Calendar.vue'
import Log from '../views/Log.vue'
import QC from '../views/QC.vue'
import Graphs from '../views/Graphs.vue'
import Map from '../views/Map.vue'
@@ -150,6 +151,16 @@ Vue.use(VueRouter)
path: "qc",
component: QC
},
{
path: "graphs",
component: Graphs,
children: [
{ path: "sequence/:sequence", name: "graphsBySequence" },
{ path: "sequence/:sequence0/:sequence1", name: "graphsBySequences" },
{ path: "date/:date0", name: "graphsByDate" },
{ path: "date/:date0/:date1", name: "graphsByDates" }
]
},
{
path: "map",
name: "map",