白石誠 před 5 roky
rodič
revize
bafc1b8009
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  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,
     };
 
   }