Add Vue 'head' element to group and user profile

This commit is contained in:
Wolfgang Huß 2022-09-13 22:49:46 +02:00
parent d42afff17e
commit 9472a68bcd
2 changed files with 10 additions and 0 deletions

View File

@ -289,6 +289,11 @@ export default {
name: 'slide-up',
mode: 'out-in',
},
head() {
return {
title: this.groupName,
}
},
data() {
// const filter = tabToFilterMapping({ tab: 'post', id: this.$route.params.id })
return {

View File

@ -221,6 +221,11 @@ export default {
name: 'slide-up',
mode: 'out-in',
},
head() {
return {
title: this.userName,
}
},
data() {
const filter = tabToFilterMapping({ tab: 'post', id: this.$route.params.id })
return {