Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Commit 3774515

Browse files
committed
fix(operators): Remove unused subscription
1 parent e725a59 commit 3774515

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/app/operators/operators.component.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ export class OperatorsComponent implements OnInit, AfterViewInit {
5959
public groupedOperators: OperatorDocMap;
6060
public categories: string[];
6161

62-
private _subscription: Subscription;
63-
6462
constructor(
6563
private _breakpointObserver: BreakpointObserver,
6664
private _router: Router,
@@ -72,9 +70,6 @@ export class OperatorsComponent implements OnInit, AfterViewInit {
7270
ngOnInit() {
7371
this.groupedOperators = groupOperatorsByType(this.operators);
7472
this.categories = Object.keys(this.groupedOperators);
75-
this._subscription = this._activatedRoute.fragment.subscribe(name =>
76-
this.scrollToOperator(name)
77-
);
7873
this._seo.setHeaders(['Operators'], this._seo.operatorsDescription);
7974
}
8075

0 commit comments

Comments
 (0)