redirect to presentation if never visited

This commit is contained in:
axolotle
2021-07-05 16:42:37 +02:00
parent e7ab42d864
commit 32827889a9
+6
View File
@@ -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.