garrensmith commented on a change in pull request #950: Simplify Mango/Query
panel layout
URL: https://github.com/apache/couchdb-fauxton/pull/950#discussion_r132197482
##########
File path: app/addons/documents/mango/mango.actions.js
##########
@@ -91,33 +72,33 @@ export default {
});
},
- mangoResetIndexList: function (options) {
- FauxtonAPI.dispatch({
- type: ActionTypes.MANGO_RESET,
- options: options
- });
- },
+ runExplainQuery: function (options) {
Review comment:
here you can do
```
runExplainQuery: function ({database, queryCode}) {
```
Then you don't need to do `options.database` etc
----------------------------------------------------------------
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