From f0923ad864af8e8505e282ccf53ce24c1d42f90d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Fri, 6 Sep 2019 15:55:11 +0200 Subject: [PATCH] Add hashtag for the comment id to the comments links of the list --- webapp/graphql/ModerationListQuery.js | 5 +++-- webapp/pages/moderation/index.vue | 18 ++++++++---------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/webapp/graphql/ModerationListQuery.js b/webapp/graphql/ModerationListQuery.js index 940ada6f6..221ec6177 100644 --- a/webapp/graphql/ModerationListQuery.js +++ b/webapp/graphql/ModerationListQuery.js @@ -1,7 +1,7 @@ import gql from 'graphql-tag' export default app => { - return gql(` + return gql` query { Report(first: 20, orderBy: createdAt_desc) { id @@ -30,6 +30,7 @@ export default app => { } } comment { + id contentExcerpt author { id @@ -76,5 +77,5 @@ export default app => { } } } - `) + ` } diff --git a/webapp/pages/moderation/index.vue b/webapp/pages/moderation/index.vue index 59755316b..9988ebc7a 100644 --- a/webapp/pages/moderation/index.vue +++ b/webapp/pages/moderation/index.vue @@ -1,8 +1,6 @@