mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-31 15:19:42 +02:00
Fix:Podcast episode quick match crash #1711
This commit is contained in:
parent
35e27e4f61
commit
dadd41cb5c
2 changed files with 9 additions and 3 deletions
|
@ -25,6 +25,11 @@ module.exports = function areEquivalent(value1, value2, stack = []) {
|
|||
return true;
|
||||
}
|
||||
|
||||
// Truthy check to handle value1=null, value2=Object
|
||||
if ((value1 && !value2) || (!value1 && value2)) {
|
||||
return false
|
||||
}
|
||||
|
||||
const type1 = typeof value1;
|
||||
|
||||
// Ensure types match
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue