Fixed the issue where when enabling "Do not display available content" and you have it all, the posters appear large.

pull/4016/head
tidusjar 4 years ago
parent 216c59dfc1
commit af58bbbe13

@ -70,6 +70,7 @@ export class CarouselListComponent implements OnInit {
this.discoverOptions = DiscoverOption[DiscoverOption[localDiscoverOptions]]; this.discoverOptions = DiscoverOption[DiscoverOption[localDiscoverOptions]];
} }
while(this.discoverResults.length < 14) {
var moviePromise: Promise<void>; var moviePromise: Promise<void>;
var tvPromise: Promise<void>; var tvPromise: Promise<void>;
switch (this.discoverOptions) { switch (this.discoverOptions) {
@ -90,6 +91,7 @@ export class CarouselListComponent implements OnInit {
this.createInitialModel(); this.createInitialModel();
} }
}
public async toggleChanged(event: MatButtonToggleChange) { public async toggleChanged(event: MatButtonToggleChange) {
await this.switchDiscoverMode(event.value); await this.switchDiscoverMode(event.value);

Loading…
Cancel
Save