Skip to content

Commit b194ec3

Browse files
committed
Removed ViewportScroller
1 parent 9649d51 commit b194ec3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

angularclient/src/app/search/advanced-search/advanced-search.component.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { ViewportScroller } from "@angular/common";
21
import { AfterViewInit, Component, OnInit } from "@angular/core";
32
import { AbstractControl, FormControl, FormGroup } from "@angular/forms";
43
import {
@@ -57,7 +56,6 @@ export class AdvancedSearchComponent implements OnInit, AfterViewInit {
5756
private notificationService: NotificationService,
5857
private queueService: QueueService,
5958
private responsiveScreenService: ResponsiveScreenService,
60-
private scroller: ViewportScroller,
6159
private searchService: SearchService,
6260
) {
6361
this.formFields = this.getFormFields();
@@ -117,7 +115,6 @@ export class AdvancedSearchComponent implements OnInit, AfterViewInit {
117115
advSearchResponse: PaginatedResponse<Track>,
118116
): void {
119117
this.isLoadingResults.next(false);
120-
this.scroller.scrollToAnchor("results");
121118
this.advSearchResponse$ = of(advSearchResponse);
122119
this.trackTableData = this.buildTableData(advSearchResponse);
123120
}

0 commit comments

Comments
 (0)