made integer type settings not save as strings

This commit is contained in:
uh_wot 2020-04-15 15:16:55 +02:00
parent 51af91ad21
commit 3a72d033a7

View File

@ -209,7 +209,7 @@ <h1>Settings</h1>
<input type="checkbox" v-model="settings.createPlaylistFolder"> <input type="checkbox" v-model="settings.createPlaylistFolder">
</div> </div>
<div class="input_group" v-if="settings.createPlaylistFolder"> <div class="input_group" v-if="settings.createPlaylistFolder">
<p>Playlsit folder template</p> <p>Playlist folder template</p>
<input type="text" v-model="settings.playlistNameTemplate"> <input type="text" v-model="settings.playlistNameTemplate">
</div> </div>
<div class="input_group"> <div class="input_group">
@ -254,7 +254,7 @@ <h1>Settings</h1>
</div> </div>
<div class="input_group"> <div class="input_group">
<p>Concurrent Downloads</p> <p>Concurrent Downloads</p>
<input type="number" v-model="settings.queueConcurrency"> <input type="number" v-model.number="settings.queueConcurrency">
</div> </div>
<div class="input_group"> <div class="input_group">
<p>Preferred Bitrate</p> <p>Preferred Bitrate</p>
@ -306,11 +306,11 @@ <h1>Settings</h1>
</div> </div>
<div class="input_group"> <div class="input_group">
<p>Local artwork size</p> <p>Local artwork size</p>
<input type="number" min="100" max="1800" step="100" v-model="settings.localArtworkSize"> <input type="number" min="100" max="1800" step="100" v-model.number="settings.localArtworkSize">
</div> </div>
<div class="input_group"> <div class="input_group">
<p>Embedded artwork size</p> <p>Embedded artwork size</p>
<input type="number" min="100" max="1800" step="100" v-model="settings.embeddedArtworkSize"> <input type="number" min="100" max="1800" step="100" v-model.number="settings.embeddedArtworkSize">
</div> </div>
<div class="input_group"> <div class="input_group">
<p>Save images as png</p> <p>Save images as png</p>