Archived
Refactor: layout
This commit is contained in:
1 parent
cc20ed870c
commit
1ed0790804
9 files changed
+377
-164
No files matched your search
@@ -13,6 +13,9 @@ export default {
|
||||
},
|
||||
created () {
|
||||
this.courseID = this.$route.params.course
|
||||
if (!this.$store.state.user.games[this.courseID]) {
|
||||
this.$store.commit('initCourse', this.courseID)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in new issue
Block a user