fix reports now showing reason

This commit is contained in:
Henry Jameson 2023-10-27 02:44:22 +03:00
parent 4c11ac9a27
commit c622b77ddd
1 changed files with 4 additions and 1 deletions

View File

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