Skip to content

Commit

Permalink
Removed ViewportScroller
Browse files Browse the repository at this point in the history
  • Loading branch information
rain0r committed Feb 17, 2025
1 parent 9649d51 commit b194ec3
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { ViewportScroller } from "@angular/common";
import { AfterViewInit, Component, OnInit } from "@angular/core";
import { AbstractControl, FormControl, FormGroup } from "@angular/forms";
import {
Expand Down Expand Up @@ -57,7 +56,6 @@ export class AdvancedSearchComponent implements OnInit, AfterViewInit {
private notificationService: NotificationService,
private queueService: QueueService,
private responsiveScreenService: ResponsiveScreenService,
private scroller: ViewportScroller,
private searchService: SearchService,
) {
this.formFields = this.getFormFields();
Expand Down Expand Up @@ -117,7 +115,6 @@ export class AdvancedSearchComponent implements OnInit, AfterViewInit {
advSearchResponse: PaginatedResponse<Track>,
): void {
this.isLoadingResults.next(false);
this.scroller.scrollToAnchor("results");
this.advSearchResponse$ = of(advSearchResponse);
this.trackTableData = this.buildTableData(advSearchResponse);
}
Expand Down

0 comments on commit b194ec3

Please sign in to comment.