Explorar el Código

slight change

shinoka7 hace 6 años
padre
commit
3375ee77c1
Se han modificado 1 ficheros con 1 adiciones y 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) {