Explorar o código

FB by Takeisan

白石誠 %!s(int64=5) %!d(string=hai) anos
pai
achega
bafc1b8009
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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,
     };
 
   }