Explorar o código

slight change

shinoka7 %!s(int64=6) %!d(string=hai) anos
pai
achega
3375ee77c1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {