From 19602d73119b785ec23af18f93e38014c7cba404 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Mon, 11 Nov 2019 22:21:59 +0100 Subject: [PATCH 1/5] language is fetched in postFragment --- webapp/graphql/Fragments.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/graphql/Fragments.js b/webapp/graphql/Fragments.js index 37ec15435..faff33b47 100644 --- a/webapp/graphql/Fragments.js +++ b/webapp/graphql/Fragments.js @@ -45,6 +45,7 @@ export const postFragment = lang => gql` deleted slug image + language author { ...user } From d0c0fd373a80fd601e1c48c46291802db16dfa00 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Mon, 11 Nov 2019 22:42:37 +0100 Subject: [PATCH 2/5] Language attribute added to post and postCard --- webapp/components/PostCard/PostCard.vue | 5 +++++ webapp/pages/post/_id/_slug/index.vue | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/webapp/components/PostCard/PostCard.vue b/webapp/components/PostCard/PostCard.vue index f368fadbb..2fc0b8bca 100644 --- a/webapp/components/PostCard/PostCard.vue +++ b/webapp/components/PostCard/PostCard.vue @@ -1,5 +1,6 @@