garrensmith commented on a change in pull request #950: Simplify Mango/Query
panel layout
URL: https://github.com/apache/couchdb-fauxton/pull/950#discussion_r132898354
##########
File path: app/addons/documents/mango/mango.stores.js
##########
@@ -131,21 +92,17 @@ Stores.MangoStore = FauxtonAPI.Store.extend({
this.setQueryIndexCode(action.options);
break;
- case ActionTypes.MANGO_NEW_QUERY_FIND_CODE_FROM_FIELDS:
- this.newQueryFindCodeFromFields(action.options);
- break;
-
case ActionTypes.MANGO_NEW_QUERY_FIND_CODE:
this.setQueryFindCode(action.options);
break;
- case ActionTypes.MANGO_NEW_AVAILABLE_INDEXES:
- this.setAvailableIndexes(action.options);
- break;
+ case ActionTypes.MANGO_EXPLAIN_RESULTS:
+ this.setExplainPlan(action.options);
Review comment:
If you do that, then the `setExplainPlan` becomes:
```
setExplainPlan (explainPlan) {
this._explainPlan;
}
```
----------------------------------------------------------------
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