Merge pull request #2482 from tidusjar/feature/lidarr

Feature/lidarr
pull/2467/head
Jamie 6 years ago committed by GitHub
commit 4b7e4adb23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,8 +5,8 @@
<fieldset>
<legend>Update Settings</legend>
<div class="form-group" style="float: right">
<div *ngIf="updateAvailable || form.controls['testMode'].value">
<button (click)="update()" [disabled]="!enableUpdateButton || !form.controls['testMode'].value" class="btn btn-success-outline">Update</button>
<div *ngIf="updateAvailable">
<button (click)="update()" [disabled]="!enableUpdateButton" class="btn btn-success-outline">Update</button>
</div>
<div *ngIf="!updateAvailable">
<button (click)="checkForUpdate()" class="btn btn-primary-outline">Check For Update</button>

@ -63,7 +63,7 @@ export class UpdateComponent implements OnInit {
this.notificationService.error("Please check your entered values");
return;
}
this.enableUpdateButton = form.value.autoUpdateEnabled || form.value.testMode;
this.enableUpdateButton = form.value.autoUpdateEnabled;
this.settingsService.saveUpdateSettings(form.value)
.subscribe(x => {
if (x) {

Loading…
Cancel
Save