Fixing up settings binding

pull/214/head
James Luck 2 years ago
parent 822ec69f12
commit 2128152b6f

@ -104,9 +104,9 @@
<span class="label-body">Base URL (if accessing Podgrab using a URL. Without trailing /. Leave empty if not using or unsure.)</span>
<input type="url" class="u-full-width" name="baseUrl" v-model="baseUrl">
</label>
<label for="maxDownloadConcurrency">
<input type="number" name="maxDownloadConcurrency" v-model="maxDownloadConcurrency">
<label for="maxDownloadConcurrency" style="display: inline-block;" >
<span class="label-body">Limit the number of podcasts that can be downloaded simultaneously.</span>
<input type="number" name="maxDownloadConcurrency" v-model.number="maxDownloadConcurrency" min="1">
</label>
@ -185,8 +185,8 @@ var app = new Vue({
downloadEpisodeImages:self.downloadEpisodeImages,
generateNFOFile:self.generateNFOFile,
dontDownloadDeletedFromDisk:self.dontDownloadDeletedFromDisk,
maxDownloadConcurrency:self.maxDownloadConcurrency,
baseUrl:self.baseUrl,
maxDownloadConcurrency:self.maxDownloadConcurrency,
})
.then(function(response){
Vue.toasted.show('Settings saved successfully.' ,{
@ -230,8 +230,8 @@ var app = new Vue({
downloadEpisodeImages:{{.setting.DownloadEpisodeImages }},
generateNFOFile:{{ .setting.GenerateNFOFile }},
dontDownloadDeletedFromDisk:{{ .setting.DontDownloadDeletedFromDisk }},
maxDownloadConcurrency:{{ .setting.maxDownloadConcurrency }},
baseUrl: {{ .setting.BaseUrl }},
maxDownloadConcurrency:{{ .setting.maxDownloadConcurrency }},
},
})

Loading…
Cancel
Save