File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,8 +92,9 @@ module.exports = function (Component, options) {
9292 this . props . onQuery . call ( this , Promise . resolve ( { } ) ) ;
9393 }
9494 } ,
95- setQueryParams : function ( nextParams , optionalQueryNames , checkEquals ) {
95+ setQueryParams : function ( nextParams , optionalQueryNames , options ) {
9696 var _this = this ;
97+ options = arguments [ 2 ] || { } ;
9798
9899 var promise = new Promise ( function ( resolve , reject ) {
99100 var props = _this . props || { } ;
@@ -103,7 +104,7 @@ module.exports = function (Component, options) {
103104
104105 assign ( allNextParams , _this . currentParams , nextParams )
105106 paramsEquals = shallowEqual ( allNextParams , _this . currentParams )
106- if ( checkEquals && paramsEquals && _this . hasQueryResults ( ) ) return
107+ if ( options . checkEquals && paramsEquals && _this . hasQueryResults ( ) ) return
107108
108109 assign ( _this . currentParams , nextParams ) ;
109110 promise = Container . getAllQueries ( _this . currentParams , optionalQueryNames ) ;
You can’t perform that action at this time.
0 commit comments