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