Преглед изворни кода

fix mybookmarklist and add comment MyDraftList

zahmis пре 5 година
родитељ
комит
c09024cff3

+ 0 - 2
src/client/js/components/MyBookmarkList/MyBookmarkList.jsx

@@ -42,8 +42,6 @@ class MyBookmarkList extends React.Component {
     const userId = appContainer.currentUserId;
     const page = selectPageNumber;
 
-    // TODO implement temporarily paging number only this component (this paging size is pageLimitationL).
-
     try {
       const { data } = await this.props.appContainer.apiv3.get(`/bookmarks/${userId}`, { page });
       if (data.paginationResult == null) {

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

@@ -68,6 +68,7 @@ class MyDraftList extends React.Component {
   }
 
   getCurrentDrafts(selectPageNumber) {
+    // TODO implement temporarily paging number only this component (this paging size is pageLimitationL).
     const limit = this.state.pagingLimit;
 
     const totalDrafts = this.state.drafts.length;