Load the first 100 requests

pull/1741/head
Jamie 7 years ago
parent ee13720a8b
commit f43c27ed96

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

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

Loading…
Cancel
Save