Cleanup getting instance's languages in AboutInstance

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-09-07 17:54:26 +02:00
parent 9c7a4f0079
commit 68065a611a
2 changed files with 5 additions and 10 deletions

View File

@@ -103,12 +103,13 @@ import { Component, Vue } from "vue-property-decorator";
import { CONFIG } from "@/graphql/config";
import { IConfig } from "@/types/config.model";
import RouteName from "../router/name";
import { CURRENT_USER_CLIENT } from "@/graphql/user";
import { ICurrentUser } from "@/types/current-user.model";
@Component({
apollo: {
config: {
query: CONFIG,
},
config: CONFIG,
currentUser: CURRENT_USER_CLIENT,
},
metaInfo() {
return {
@@ -122,6 +123,7 @@ import RouteName from "../router/name";
})
export default class About extends Vue {
config!: IConfig;
currentUser!: ICurrentUser;
RouteName = RouteName;
}