You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/04/05 14:10:21 UTC

[GitHub] garrensmith commented on a change in pull request #1070: Replication redux

garrensmith commented on a change in pull request #1070: Replication redux
URL: https://github.com/apache/couchdb-fauxton/pull/1070#discussion_r179475191
 
 

 ##########
 File path: app/addons/replication/actions.js
 ##########
 @@ -248,8 +233,8 @@ export const deleteDocs = (docs) => {
         clear: true
       });
 
-      clearSelectedDocs();
-      getReplicationActivity();
+      dispatch(clearSelectedDocs());
+      dispatch(getReplicationActivity());
     })
     .catch(resp => {
       resp.json()
 
 Review comment:
   It does in this case because I passed in `raw: true` as a param to the post. It then doesn't call the resp.json() for you.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services