fix(router): router link should navigate to non-base Url.
While still displaying full base + custom part of url in the href.
This commit is contained in:
+2
-1
@@ -45,7 +45,8 @@ export class SpyLocation extends SpyObject {
|
||||
}
|
||||
|
||||
go(url:string) {
|
||||
if (this._path === url) {
|
||||
url = this.normalizeAbsolutely(url);
|
||||
if (this._path == url) {
|
||||
return;
|
||||
}
|
||||
this._path = url;
|
||||
|
||||
Reference in New Issue
Block a user