mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Fixed the issue where we couldn't request TV shows from the discover page
This commit is contained in:
parent
3aba6516e0
commit
cb3916f773
4 changed files with 8 additions and 2 deletions
|
@ -30,7 +30,7 @@ export class DiscoverCardComponent implements OnInit {
|
|||
public ngOnInit() {
|
||||
if (this.result.type == RequestType.tvShow) {
|
||||
this.fullyLoaded = true;
|
||||
// this.getExtraTvInfo();
|
||||
this.getExtraTvInfo();
|
||||
}
|
||||
if (this.result.type == RequestType.movie) {
|
||||
this.getExtraMovieInfo();
|
||||
|
|
|
@ -10,6 +10,7 @@ import { MatDialog } from "@angular/material/dialog";
|
|||
import { DiscoverGridComponent } from "./grid/discover-grid.component";
|
||||
import { DiscoverSearchResultsComponent } from "./search-results/search-results.component";
|
||||
import { CarouselListComponent } from "./carousel-list/carousel-list.component";
|
||||
import { RequestServiceV2 } from "../../services/requestV2.service";
|
||||
|
||||
|
||||
export const components: any[] = [
|
||||
|
@ -27,6 +28,7 @@ export const providers: any[] = [
|
|||
SearchService,
|
||||
MatDialog,
|
||||
RequestService,
|
||||
RequestServiceV2,
|
||||
];
|
||||
|
||||
export const routes: Routes = [
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
</mat-checkbox>
|
||||
</th>
|
||||
<td mat-cell *matCellDef="let row">
|
||||
<mat-checkbox id="adminMasterCheckbox" (click)="$event.stopPropagation()"
|
||||
<mat-checkbox id="adminMasterCheckbox{{row.id}}" (click)="$event.stopPropagation()"
|
||||
(change)="$event ? selection.toggle(row) : null"
|
||||
[checked]="selection.isSelected(row)">
|
||||
</mat-checkbox>
|
||||
|
|
|
@ -95,6 +95,10 @@ class MoviesTab extends MediaBaseTab {
|
|||
get approveFabButton(): Cypress.Chainable<any> {
|
||||
return cy.get('#approveFabButton');
|
||||
}
|
||||
|
||||
getRowCheckbox(rowId: number): Cypress.Chainable<any> {
|
||||
return cy.get('#adminMasterCheckbox' + rowId);
|
||||
}
|
||||
}
|
||||
|
||||
class RequestsPage extends BasePage {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue