You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2016/11/08 14:17:06 UTC
fauxton commit: updated refs/heads/master to e831386
Repository: couchdb-fauxton
Updated Branches:
refs/heads/master 7754a3dfb -> e83138696
Passing docURL as prop to allow for custom Cloudant value
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/e8313869
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/e8313869
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/e8313869
Branch: refs/heads/master
Commit: e83138696a35068585d15e53dcf2b970bf82fc41
Parents: 7754a3d
Author: Ryan Millay <ry...@gmail.com>
Authored: Tue Oct 25 10:12:12 2016 -0400
Committer: Garren Smith <ga...@gmail.com>
Committed: Tue Nov 8 16:16:37 2016 +0200
----------------------------------------------------------------------
app/addons/documents/queryoptions/queryoptions.react.jsx | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/e8313869/app/addons/documents/queryoptions/queryoptions.react.jsx
----------------------------------------------------------------------
diff --git a/app/addons/documents/queryoptions/queryoptions.react.jsx b/app/addons/documents/queryoptions/queryoptions.react.jsx
index 420d233..3c608dc 100644
--- a/app/addons/documents/queryoptions/queryoptions.react.jsx
+++ b/app/addons/documents/queryoptions/queryoptions.react.jsx
@@ -30,13 +30,7 @@ var MainFieldsView = React.createClass({
reduce: React.PropTypes.bool.isRequired,
toggleReduce: React.PropTypes.func,
updateGroupLevel: React.PropTypes.func,
- docURL: React.PropTypes.string
- },
-
- getDefaultProps: function () {
- return {
- docURL: FauxtonAPI.constants.DOC_URLS.GENERAL
- };
+ docURL: React.PropTypes.string.isRequired
},
toggleIncludeDocs: function (e) {
@@ -411,7 +405,8 @@ var QueryTray = React.createClass({
reduce={this.props.reduce}
toggleReduce={Actions.toggleReduce}
groupLevel={this.props.groupLevel}
- updateGroupLevel={Actions.updateGroupLevel} />
+ updateGroupLevel={Actions.updateGroupLevel}
+ docURL={FauxtonAPI.constants.DOC_URLS.GENERAL} />
<KeySearchFields
key={1}
showByKeys={this.props.showByKeys}