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> <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"> <input type="url" class="u-full-width" name="baseUrl" v-model="baseUrl">
</label> </label>
<label for="maxDownloadConcurrency"> <label for="maxDownloadConcurrency" style="display: inline-block;" >
<input type="number" name="maxDownloadConcurrency" v-model="maxDownloadConcurrency">
<span class="label-body">Limit the number of podcasts that can be downloaded simultaneously.</span> <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> </label>
@ -185,8 +185,8 @@ var app = new Vue({
downloadEpisodeImages:self.downloadEpisodeImages, downloadEpisodeImages:self.downloadEpisodeImages,
generateNFOFile:self.generateNFOFile, generateNFOFile:self.generateNFOFile,
dontDownloadDeletedFromDisk:self.dontDownloadDeletedFromDisk, dontDownloadDeletedFromDisk:self.dontDownloadDeletedFromDisk,
maxDownloadConcurrency:self.maxDownloadConcurrency,
baseUrl:self.baseUrl, baseUrl:self.baseUrl,
maxDownloadConcurrency:self.maxDownloadConcurrency,
}) })
.then(function(response){ .then(function(response){
Vue.toasted.show('Settings saved successfully.' ,{ Vue.toasted.show('Settings saved successfully.' ,{
@ -230,8 +230,8 @@ var app = new Vue({
downloadEpisodeImages:{{.setting.DownloadEpisodeImages }}, downloadEpisodeImages:{{.setting.DownloadEpisodeImages }},
generateNFOFile:{{ .setting.GenerateNFOFile }}, generateNFOFile:{{ .setting.GenerateNFOFile }},
dontDownloadDeletedFromDisk:{{ .setting.DontDownloadDeletedFromDisk }}, dontDownloadDeletedFromDisk:{{ .setting.DontDownloadDeletedFromDisk }},
maxDownloadConcurrency:{{ .setting.maxDownloadConcurrency }},
baseUrl: {{ .setting.BaseUrl }}, baseUrl: {{ .setting.BaseUrl }},
maxDownloadConcurrency:{{ .setting.maxDownloadConcurrency }},
}, },
}) })

Loading…
Cancel
Save