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
and I go to this state with $state.go('main'), the location address bar is not updated.
I take a look at code and I find that the new path is correctly generated by the urlMatcher and it returns an empty string. So, the new url in location address bar must be for example http://localhost.
But the location service doesn't update the location when url is an empty string. The condition stops updating :
I have experienced a weird side effect caused by this bug fix. All state config tests started failing and the reason was that I had 'url': '' in state configs
When I configure a state with this params :
and I go to this state with $state.go('main'), the location address bar is not updated.
I take a look at code and I find that the new path is correctly generated by the urlMatcher and it returns an empty string. So, the new url in location address bar must be for example
http://localhost
.But the location service doesn't update the location when url is an empty string. The condition stops updating :
ui-router/src/locationServices.ts
Line 49 in 5b54cbf
The text was updated successfully, but these errors were encountered: