Merge branch 'bug/fix-meta' into 'master'

Bug/fix meta

See merge request framasoft/mobilizon!244
This commit is contained in:
Thomas Citharel
2019-10-10 17:43:14 +02:00
13 changed files with 136 additions and 2 deletions

View File

@@ -111,6 +111,14 @@ import EventCard from '@/components/Event/EventCard.vue';
update: data => data.loggedUser.participations.map(participation => new Participant(participation)),
},
},
metaInfo() {
return {
// if no subcomponents specify a metaInfo.title, this title will be used
title: this.$t('My events') as string,
// all titles will be injected into this template
titleTemplate: '%s | Mobilizon',
};
},
})
export default class MyEvents extends Vue {
futurePage: number = 1;