Sfoglia il codice sorgente

Use correct object path (typo)

sbkwgh 8 anni fa
parent
commit
4aaad80d0c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/App.vue

+ 1 - 1
src/App.vue

@@ -303,7 +303,7 @@
 					this.$store.commit('setForumName', res.data.forumName)
 					this.$store.commit('setForumDescription', res.data.forumDescription)
 
-					this.$store.dispatch('setTitle', this.$store.meta.title)
+					this.$store.dispatch('setTitle', this.$store.state.meta.title)
 				}).catch(err => {
 					if(err.response.data.errors[0].name === 'noSettings') {
 						this.$router.push('/start')