Pārlūkot izejas kodu

fix reports now showing reason

Henry Jameson 1 gadu atpakaļ
vecāks
revīzija
c622b77ddd
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. 4 1
      src/components/report/report.js

+ 4 - 1
src/components/report/report.js

@@ -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: {