Преглед на файлове

changed comments_ids to comment_ids to match change in backend

Skylsmoi преди 6 години
родител
ревизия
2eeb7c2dd9
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/container/HtmlDocument.jsx

+ 1 - 1
src/container/HtmlDocument.jsx Целия файл

@@ -96,7 +96,7 @@ class HtmlDocument extends React.Component {
96 96
             ...r,
97 97
             created: (new Date(r.created)).toLocaleString(),
98 98
             timelineType: 'revision',
99
-            commentList: r.comments_ids.map(ci => ({
99
+            commentList: r.comment_ids.map(ci => ({
100 100
               timelineType: 'comment',
101 101
               ...resCommentWithProperDate.find(c => c.content_id === ci)
102 102
             })),