garrensmith commented on a change in pull request #950: Simplify Mango/Query 
panel layout
URL: https://github.com/apache/couchdb-fauxton/pull/950#discussion_r132200058
 
 

 ##########
 File path: app/addons/documents/mango/mango.components.js
 ##########
 @@ -268,16 +250,39 @@ var MangoIndexEditorController = React.createClass({
       return;
     }
 
-    Actions.saveQuery({
+    Actions.saveIndex({
       database: this.state.database,
       queryCode: this.getMangoEditor().getEditorValue()
     });
   }
 });
 
+var ExplainPage = React.createClass({
 
 Review comment:
   Could you create this ExplainPage using the new `class ExplainPage extends 
React.Components`
   The `React.createClass` way of doing things is deprecated
 
----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to