mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-25 18:29:10 +02:00
Fix:Podcast schedule max new episodes to download setting to 0 and fix input blurs #2680
This commit is contained in:
parent
7a4f4b1586
commit
38f12f4795
3 changed files with 18 additions and 5 deletions
|
@ -114,7 +114,9 @@ module.exports.reqSupportsWebp = (req) => {
|
|||
module.exports.areEquivalent = areEquivalent
|
||||
|
||||
module.exports.copyValue = (val) => {
|
||||
if (!val) return val === false ? false : null
|
||||
if (val === undefined || val === '') return null
|
||||
else if (!val) return val
|
||||
|
||||
if (!this.isObject(val)) return val
|
||||
|
||||
if (Array.isArray(val)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue