You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whats the recommended way to reset the QPs after setting them to some values on page load ?
In my controller, I do something like :
paramsRelay.setParam(paramName, undefined);
where, paramsRelay: Ember.inject.service() paramName is a string, say 'detected_via'.
But on debugging, I see that the paramName is first set to undefined and then to the string 'undefined'. This setting of undefined and then to string 'undefined', happens inside the queryParamsDidChange method inside the autosubscribe.js file.
Not sure if this is a bug or if I am setting the QPs the wrong way.
What am I trying to do ?
I have my QPs enabled on page load. Then I wanna remove the query Param when the checkbox is turned off by user.
I would be happy to give more information, if needed.
The text was updated successfully, but these errors were encountered:
TL;DR
Whats the recommended way to reset the QPs after setting them to some values on page load ?
In my controller, I do something like :
where,
paramsRelay: Ember.inject.service()
paramName
is a string, say 'detected_via'.But on debugging, I see that the paramName is first set to
undefined
and then to the string 'undefined'. Thisset
ting of undefined and then to string 'undefined', happens inside thequeryParamsDidChange
method inside the autosubscribe.js file.Not sure if this is a bug or if I am setting the QPs the wrong way.
What am I trying to do ?
I have my QPs enabled on page load. Then I wanna remove the query Param when the checkbox is turned off by user.
I would be happy to give more information, if needed.
The text was updated successfully, but these errors were encountered: