Fix missing metainfo on some views
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -108,6 +108,11 @@ import { ApolloCache, FetchResult, InMemoryCache } from "@apollo/client/core";
|
||||
},
|
||||
config: CONFIG,
|
||||
},
|
||||
metaInfo() {
|
||||
return {
|
||||
title: this.$t("Create a new group") as string,
|
||||
};
|
||||
},
|
||||
})
|
||||
export default class CreateGroup extends mixins(IdentityEditionMixin) {
|
||||
currentActor!: IPerson;
|
||||
|
||||
@@ -571,7 +571,6 @@ import { PERSON_MEMBERSHIP_GROUP } from "@/graphql/actor";
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
title: this.groupTitle,
|
||||
titleTemplate: "%s | Mobilizon",
|
||||
meta: [
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
|
||||
@@ -160,6 +160,11 @@ import { Paginate } from "@/types/paginate";
|
||||
components: {
|
||||
EmptyContent,
|
||||
},
|
||||
metaInfo() {
|
||||
return {
|
||||
title: this.$t("Group Followers") as string,
|
||||
};
|
||||
},
|
||||
})
|
||||
export default class GroupFollowers extends mixins(GroupMixin) {
|
||||
loading = true;
|
||||
|
||||
@@ -265,6 +265,11 @@ import EmptyContent from "@/components/Utils/EmptyContent.vue";
|
||||
components: {
|
||||
EmptyContent,
|
||||
},
|
||||
metaInfo() {
|
||||
return {
|
||||
title: this.$t("Group Members") as string,
|
||||
};
|
||||
},
|
||||
})
|
||||
export default class GroupMembers extends mixins(GroupMixin) {
|
||||
loading = true;
|
||||
|
||||
@@ -196,6 +196,11 @@ import { ErrorResponse } from "@apollo/client/link/error";
|
||||
apollo: {
|
||||
config: CONFIG,
|
||||
},
|
||||
metaInfo() {
|
||||
return {
|
||||
title: this.$t("Group settings") as string,
|
||||
};
|
||||
},
|
||||
})
|
||||
export default class GroupSettings extends mixins(GroupMixin) {
|
||||
loading = true;
|
||||
|
||||
Reference in New Issue
Block a user