Load the first 100 requests

This commit is contained in:
Jamie 2017-11-20 13:39:39 +00:00
parent ee13720a8b
commit f43c27ed96
2 changed files with 3 additions and 3 deletions

View file

@ -51,8 +51,8 @@ export class MovieRequestsComponent implements OnInit {
}
public ngOnInit() {
this.amountToLoad = 5;
this.currentlyLoaded = 5;
this.amountToLoad = 100;
this.currentlyLoaded = 100;
this.loadInit();
this.isAdmin = this.auth.hasRole("admin") || this.auth.hasRole("poweruser");
}

View file

@ -80,7 +80,7 @@ export class TvRequestsComponent implements OnInit {
public ngOnInit() {
this.amountToLoad = 1000;
this.currentlyLoaded = 5;
this.currentlyLoaded = 1000;
this.tvRequests = [];
this.loadInit();
this.isAdmin = this.auth.hasRole("admin") || this.auth.hasRole("poweruser");