Parcourir la source

change pageLimitation

zahmis il y a 5 ans
Parent
commit
ae0c2a5602
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      src/client/js/components/MyDraftList/MyDraftList.jsx

+ 1 - 2
src/client/js/components/MyDraftList/MyDraftList.jsx

@@ -67,9 +67,8 @@ class MyDraftList extends React.Component {
   }
 
   getCurrentDrafts(selectPageNumber) {
-    const { appContainer } = this.props;
 
-    const limit = appContainer.getConfig().recentCreatedLimit;
+    const limit = 50; // implement only this component.(this default value is 50 (pageLimitationL))
 
     const totalDrafts = this.state.drafts.length;
     const activePage = selectPageNumber;