Merge branch 'fix-reports' into 'develop'

fix reports now showing reason

See merge request pleroma/pleroma-fe!1860
This commit is contained in:
HJ 2023-10-26 23:48:45 +00:00
commit f685f9021b
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1 @@
fix reports now showing reason/content:w

View File

@ -1,6 +1,7 @@
import Select from '../select/select.vue'
import StatusContent from '../status_content/status_content.vue'
import Timeago from '../timeago/timeago.vue'
import RichContent from 'src/components/rich_content/rich_content.jsx'
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
const Report = {
@ -10,10 +11,12 @@ const Report = {
components: {
Select,
StatusContent,
Timeago
Timeago,
RichContent
},
computed: {
report () {
console.log(this.$store.state.reports.reports[this.reportId] || {})
return this.$store.state.reports.reports[this.reportId] || {}
},
state: {