diff --git a/components/ReportModal.vue b/components/ReportModal.vue index a195d1674..5e374e346 100644 --- a/components/ReportModal.vue +++ b/components/ReportModal.vue @@ -19,7 +19,7 @@ -
+ { .authenticateAs(submitter) .create('Report', { id, - description: "Offensive content" + description: 'Offensive content' }) }) }) diff --git a/graphql/ModerationListQuery.js b/graphql/ModerationListQuery.js index 6126521cc..8ae827d7f 100644 --- a/graphql/ModerationListQuery.js +++ b/graphql/ModerationListQuery.js @@ -8,7 +8,7 @@ export default app => { description type createdAt - reporter { + submitter { name slug } @@ -27,7 +27,7 @@ export default app => { slug } } - contribution { + post { title slug author { diff --git a/locales/de.json b/locales/de.json index b3e6289ac..93b6f34e6 100644 --- a/locales/de.json +++ b/locales/de.json @@ -98,7 +98,7 @@ "reports": { "empty": "Glückwunsch, es gibt nichts zu moderieren.", "name": "Meldungen", - "reporter": "gemeldet von" + "submitter": "gemeldet von" } }, "contribution": { diff --git a/locales/en.json b/locales/en.json index 78b7ab433..3102972d3 100644 --- a/locales/en.json +++ b/locales/en.json @@ -98,7 +98,7 @@ "reports": { "empty": "Congratulations, nothing to moderate.", "name": "Reports", - "reporter": "reported by" + "submitter": "reported by" } }, "contribution": { diff --git a/pages/moderation/index.vue b/pages/moderation/index.vue index 995c9d560..209f8dcba 100644 --- a/pages/moderation/index.vue +++ b/pages/moderation/index.vue @@ -13,18 +13,18 @@ slot="name" slot-scope="scope" > -