Fixed missing downloaders from the actual torrent options.

This commit is contained in:
Roger Far 2024-04-06 13:43:13 -06:00
parent d172da80b5
commit 74b988effa
3 changed files with 98 additions and 92 deletions

View file

@ -47,8 +47,9 @@
<div class="control select is-fullwidth"> <div class="control select is-fullwidth">
<select [(ngModel)]="downloadClient" (ngModelChange)="setFinishAction()"> <select [(ngModel)]="downloadClient" (ngModelChange)="setFinishAction()">
<option [ngValue]="0">Internal Downloader</option> <option [ngValue]="0">Internal Downloader</option>
<option [ngValue]="1">Aria2c</option> <option [ngValue]="1">Bezzad</option>
<option [ngValue]="2">Symlink Downloader</option> <option [ngValue]="2">Aria2c</option>
<option [ngValue]="3">Symlink Downloader</option>
</select> </select>
</div> </div>
<p class="help"> <p class="help">

View file

@ -188,8 +188,9 @@
<select [(ngModel)]="updateSettingsDownloadClient"> <select [(ngModel)]="updateSettingsDownloadClient">
<option [ngValue]="null"></option> <option [ngValue]="null"></option>
<option [ngValue]="0">Internal Downloader</option> <option [ngValue]="0">Internal Downloader</option>
<option [ngValue]="1">Aria2c</option> <option [ngValue]="1">Bezzad</option>
<option [ngValue]="2">Symlink Downloader</option> <option [ngValue]="2">Aria2c</option>
<option [ngValue]="3">Symlink Downloader</option>
</select> </select>
</div> </div>
<p class="help"> <p class="help">
@ -284,9 +285,6 @@
</p> </p>
</div> </div>
<div class="notification is-danger is-light" *ngIf="changeSettingsError?.length > 0"> <div class="notification is-danger is-light" *ngIf="changeSettingsError?.length > 0">
Error changing settings: {{ changeSettingsError }} Error changing settings: {{ changeSettingsError }}
</div> </div>
@ -300,7 +298,12 @@
> >
Save Save
</button> </button>
<button class="button" (click)="changeSettingsCancel()" [disabled]="changingSettings" [ngClass]="{ 'is-loading': changingSettings }"> <button
class="button"
(click)="changeSettingsCancel()"
[disabled]="changingSettings"
[ngClass]="{ 'is-loading': changingSettings }"
>
Cancel Cancel
</button> </button>
</footer> </footer>

View file

@ -55,8 +55,9 @@
<label class="label">Downloader</label> <label class="label">Downloader</label>
<ng-container [ngSwitch]="torrent.downloadClient"> <ng-container [ngSwitch]="torrent.downloadClient">
<ng-container *ngSwitchCase="0">Internal Downloader</ng-container> <ng-container *ngSwitchCase="0">Internal Downloader</ng-container>
<ng-container *ngSwitchCase="1">Aria2c</ng-container> <ng-container *ngSwitchCase="1">Bezadd</ng-container>
<ng-container *ngSwitchCase="2">Symlink Downloader</ng-container> <ng-container *ngSwitchCase="2">Aria2c</ng-container>
<ng-container *ngSwitchCase="3">Symlink Downloader</ng-container>
</ng-container> </ng-container>
</div> </div>
<div class="field"> <div class="field">
@ -494,8 +495,9 @@
<div class="control select is-fullwidth"> <div class="control select is-fullwidth">
<select [(ngModel)]="updateSettingsDownloadClient"> <select [(ngModel)]="updateSettingsDownloadClient">
<option [ngValue]="0">Internal Downloader</option> <option [ngValue]="0">Internal Downloader</option>
<option [ngValue]="1">Aria2c</option> <option [ngValue]="1">Bezzad</option>
<option [ngValue]="2">Symlink Downloader</option> <option [ngValue]="2">Aria2c</option>
<option [ngValue]="3">Symlink Downloader</option>
</select> </select>
</div> </div>
<p class="help"> <p class="help">