fix(hall): correctly set page title
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user