removed unused line, added scroll to top on init

This commit is contained in:
dr3amer 2022-05-01 13:54:21 -07:00
commit 823d0c8af5

View file

@ -61,9 +61,8 @@ export class MovieDetailsComponent implements OnInit{
}
async ngOnInit() {
this.theMovidDbId = this.route.snapshot.params.movieDbId;
// reset scroll location to top
window.scrollTo(0, 0);
this.is4KEnabled = this.featureFacade.is4kEnabled();
this.issuesEnabled = this.settingsState.getIssue();
this.isAdmin = this.auth.hasRole("admin") || this.auth.hasRole("poweruser");