mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-22 14:13:36 -07:00
removed unused line, added scroll to top on init
This commit is contained in:
parent
cd5e680f12
commit
823d0c8af5
1 changed files with 1 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue