mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
fix(plex): Added the watchlist request whole show back into the settings
This commit is contained in:
parent
a6274bc38d
commit
10701c4a0b
3 changed files with 12 additions and 6 deletions
4
.github/workflows/cypress.yml
vendored
4
.github/workflows/cypress.yml
vendored
|
@ -43,8 +43,8 @@ jobs:
|
||||||
- name: Run Docker Image
|
- name: Run Docker Image
|
||||||
run: nohup docker run --rm -p 5000:5000 ombi &
|
run: nohup docker run --rm -p 5000:5000 ombi &
|
||||||
|
|
||||||
# - name: Run Wiremock Plex
|
- name: Run Wiremock Plex
|
||||||
# run: nohup docker run -it --rm -p 8080:8080 --name wiremock wiremock/wiremock:2.35.0
|
run: nohup docker run -it --rm -p 32400:8080 --name wiremock wiremock/wiremock:2.35.0
|
||||||
|
|
||||||
- name: Sleep for server to start
|
- name: Sleep for server to start
|
||||||
run: sleep 20
|
run: sleep 20
|
||||||
|
|
|
@ -21,7 +21,7 @@ import { Component, EventEmitter, Input, Output } from "@angular/core";
|
||||||
<input matInput placeholder={{placeholder}} [attr.type]="type" id="{{id}}" name="{{id}}" [ngModel]="value" (ngModelChange)="change($event)" value="{{value}}">
|
<input matInput placeholder={{placeholder}} [attr.type]="type" id="{{id}}" name="{{id}}" [ngModel]="value" (ngModelChange)="change($event)" value="{{value}}">
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
<mat-slide-toggle class="margin" *ngIf="type === 'checkbox'" id="{{id}}" [ngModel]="value" (ngModelChange)="change($event)" [checked]="value"></mat-slide-toggle>
|
<mat-slide-toggle [disabled]="disabled" class="margin" *ngIf="type === 'checkbox'" id="{{id}}" [ngModel]="value" (ngModelChange)="change($event)" [checked]="value"></mat-slide-toggle>
|
||||||
|
|
||||||
<ng-content select="[below]"></ng-content>
|
<ng-content select="[below]"></ng-content>
|
||||||
</div>
|
</div>
|
||||||
|
@ -40,6 +40,7 @@ export class PlexFormFieldComponent {
|
||||||
@Input() public id: string;
|
@Input() public id: string;
|
||||||
@Input() public placeholder: string;
|
@Input() public placeholder: string;
|
||||||
@Input() public type: "input" | "checkbox" | "password" = "input"
|
@Input() public type: "input" | "checkbox" | "password" = "input"
|
||||||
|
@Input() public disabled = false;
|
||||||
|
|
||||||
public change(newValue: string) {
|
public change(newValue: string) {
|
||||||
this.value = newValue;
|
this.value = newValue;
|
||||||
|
|
|
@ -16,6 +16,11 @@
|
||||||
</small>
|
</small>
|
||||||
</settings-plex-form-field>
|
</settings-plex-form-field>
|
||||||
|
|
||||||
|
<settings-plex-form-field [disabled]="!settings.enableWatchlistImport" [label]="'Watchlist - Request Whole Show'" disabled [type]="'checkbox'" [id]="'monitorAll'" [(value)]="settings.monitorAll">
|
||||||
|
<small bottom>If enabled then watchlist requests for TV Shows will request the <strong><em>whole</em></strong> show. If not enabled it will only request the latest season.
|
||||||
|
</small>
|
||||||
|
</settings-plex-form-field>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue