Merge branch 'bug/fix-comments' into 'master'
Bug/fix comments See merge request framasoft/mobilizon!351
This commit is contained in:
@@ -116,7 +116,7 @@ import { CREATE_REPORT } from '@/graphql/report';
|
||||
},
|
||||
components: {
|
||||
editor: () => import(/* webpackChunkName: "editor" */ '@/components/Editor.vue'),
|
||||
Comment,
|
||||
comment: () => import(/* webpackChunkName: "comment" */ './Comment.vue'),
|
||||
},
|
||||
})
|
||||
export default class Comment extends Vue {
|
||||
@@ -223,7 +223,6 @@ export default class Comment extends Vue {
|
||||
}
|
||||
|
||||
reportModal() {
|
||||
console.log('report modal');
|
||||
this.$buefy.modal.open({
|
||||
parent: this,
|
||||
component: ReportModal,
|
||||
|
||||
@@ -171,6 +171,7 @@ export const FETCH_EVENTS = gql`
|
||||
url
|
||||
},
|
||||
preferredUsername,
|
||||
domain,
|
||||
name,
|
||||
},
|
||||
# attributedTo {
|
||||
|
||||
@@ -7,6 +7,7 @@ export const REPORTS = gql`
|
||||
reported {
|
||||
id,
|
||||
preferredUsername,
|
||||
domain,
|
||||
name,
|
||||
avatar {
|
||||
url
|
||||
@@ -46,7 +47,8 @@ const REPORT_FRAGMENT = gql`
|
||||
name,
|
||||
avatar {
|
||||
url
|
||||
}
|
||||
},
|
||||
domain
|
||||
},
|
||||
reporter {
|
||||
id,
|
||||
@@ -74,6 +76,7 @@ const REPORT_FRAGMENT = gql`
|
||||
actor {
|
||||
id,
|
||||
preferredUsername,
|
||||
domain,
|
||||
name,
|
||||
avatar {
|
||||
url
|
||||
|
||||
Reference in New Issue
Block a user