fix: Unable to Delete Jellyfin Server (#4705) (#4780)

[skip ci]
pull/4786/head
Wesley King 2 years ago committed by GitHub
parent b4a14c2d28
commit 76a0d0d268
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,7 +10,7 @@
<div class="row">
<div class="col-md-6 col-6 col-sm-6">
<div class="md-form-field">
<mat-slide-toggle [(ngModel)]="settings.enable" [checked]="settings.enable">Enable
<mat-slide-toggle [(ngModel)]="settings.enable" (change)="toggle()" [checked]="settings.enable">Enable
</mat-slide-toggle>
</div> </div>
</div>

@ -72,6 +72,7 @@ export class EmbyComponent implements OnInit {
if (index > -1) {
this.settings.servers.splice(index, 1);
this.selected.setValue(this.settings.servers.length - 1);
this.toggle();
}
}

@ -10,7 +10,7 @@
<div class="row">
<div class="col-md-6 col-6 col-sm-6">
<div class="md-form-field">
<mat-slide-toggle [(ngModel)]="settings.enable" [checked]="settings.enable">Enable
<mat-slide-toggle [(ngModel)]="settings.enable" (change)="toggle()" [checked]="settings.enable">Enable
</mat-slide-toggle>
</div>

@ -73,6 +73,7 @@ export class JellyfinComponent implements OnInit {
if (index > -1) {
this.settings.servers.splice(index, 1);
this.selected.setValue(this.settings.servers.length - 1);
this.toggle();
}
}

Loading…
Cancel
Save