瀏覽代碼

slight change

shinoka7 6 年之前
父節點
當前提交
3375ee77c1
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {