mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-23 19:04:18 +00:00
test: migration from Python to JavaScript
This commit is contained in:
@@ -91,7 +91,7 @@ class Preferences {
|
||||
return obj
|
||||
}
|
||||
for (let k of Object.keys(obj)) {
|
||||
if (typeof obj[k] == 'object') {
|
||||
if (obj[k] && typeof obj[k] == 'object') {
|
||||
let o = this.findKey(obj[k], key)
|
||||
if (o !== null)
|
||||
return o
|
||||
|
||||
Reference in New Issue
Block a user