Antonio-Maranhao commented on a change in pull request #1168: Set number of
databases per page to display
URL: https://github.com/apache/couchdb-fauxton/pull/1168#discussion_r246103579
##########
File path: app/addons/components/components/deletedatabasemodal.js
##########
@@ -64,7 +65,7 @@ export class DeleteDatabaseModal extends React.Component {
onDeleteClick = (e) => {
e.preventDefault();
- Actions.deleteDatabase(this.getDatabaseName());
+ Actions.deleteDatabase(this.getDatabaseName(), this.props.onSuccess);
Review comment:
I used a callback because that fits better when it's converted to use Redux.
----------------------------------------------------------------
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