redirect to presentation if never visited
This commit is contained in:
@@ -23,6 +23,12 @@ export default {
|
|||||||
NodesHistory
|
NodesHistory
|
||||||
},
|
},
|
||||||
|
|
||||||
|
created () {
|
||||||
|
if (!this.$store.state.pages.visited) {
|
||||||
|
this.$router.push({ name: 'introduction' })
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
metaInfo () {
|
metaInfo () {
|
||||||
return {
|
return {
|
||||||
// if no subcomponents specify a metaInfo.title, try to get one from the route name.
|
// if no subcomponents specify a metaInfo.title, try to get one from the route name.
|
||||||
|
|||||||
Reference in New Issue
Block a user