白石誠 пре 5 година
родитељ
комит
bafc1b8009
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      src/client/js/components/PageTimeline.jsx

+ 3 - 1
src/client/js/components/PageTimeline.jsx

@@ -23,7 +23,9 @@ class PageTimeline extends React.Component {
       activePage: 1,
       totalPages: 0,
       limit: appContainer.getConfig().recentCreatedLimit,
-      pages: [],
+
+      // TODO: remove after when timeline is implemented with React and inject data with props
+      pages: this.props.pages,
     };
 
   }