fix(hall): correctly set page title

This commit is contained in:
Matteo Pagliazzi
2020-11-02 17:33:10 +01:00
parent 3c49db9bfe
commit 965df326ed
2 changed files with 6 additions and 0 deletions
@@ -314,6 +314,9 @@ export default {
...mapState({ user: 'user.data' }),
},
async mounted () {
this.$store.dispatch('common:setTitle', {
section: this.$t('hallContributors'),
});
this.heroes = await this.$store.dispatch('hall:getHeroes');
},
methods: {
@@ -54,6 +54,9 @@ export default {
...mapState({ user: 'user.data' }),
},
async mounted () {
this.$store.dispatch('common:setTitle', {
section: this.$t('hallPatrons'),
});
this.patrons = await this.$store.dispatch('hall:getPatrons', { page: 0 });
},
methods: {