fix(angular): fix tabs with useHash (#16392)

fixes #16390
This commit is contained in:
Manu MA
2018-11-20 10:45:56 +01:00
committed by GitHub
parent adae220d42
commit f8311860b0
2 changed files with 2 additions and 4 deletions

View File

@ -23,8 +23,7 @@ export class StackController {
return {
ref: enteringRef,
element: (enteringRef && enteringRef.location && enteringRef.location.nativeElement) as HTMLElement,
url: this.getUrl(route),
fullpath: document.location!.pathname,
url: this.getUrl(route)
};
}
@ -170,7 +169,6 @@ function destroyView(view: RouteView) {
export interface RouteView {
url: string;
fullpath: string;
element: HTMLElement;
ref: ComponentRef<any>;
savedData?: any;