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:
[email protected]
With regards,
Apache Git Services