Browse Source

slight change

shinoka7 6 năm trước cách đây
mục cha
commit
3375ee77c1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/client/js/components/MyDraftList/MyDraftList.jsx

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

@@ -59,7 +59,7 @@ class MyDraftList extends React.Component {
       };
     });
 
-    this.setState({ drafts });
+    this.setState({ drafts, totalDrafts: drafts.length });
   }
 
   getCurrentDrafts(selectPageNumber) {