Fixed bug with the OnlyDownloadAvailable files setting.

This commit is contained in:
Roger Far 2021-02-06 18:54:06 -07:00
parent 9071db58a2
commit 64c2204af5

View file

@ -67,7 +67,7 @@ export class SettingsComponent implements OnInit {
this.settingDownloadMaxSpeed = parseInt(this.getSetting(results, 'DownloadMaxSpeed'), 10);
this.settingUnpackLimit = parseInt(this.getSetting(results, 'UnpackLimit'), 10);
this.settingMinFileSize = parseInt(this.getSetting(results, 'MinFileSize'), 10);
this.settingOnlyDownloadAvailableFiles = this.getSetting(results, 'OnlyDownloadAvailableFiles') === 'true';
this.settingOnlyDownloadAvailableFiles = this.getSetting(results, 'OnlyDownloadAvailableFiles') === '1';
},
(err) => {
this.error = err.error;