Let 'merge' deal with null

This commit is contained in:
pietervdvn 2021-11-09 18:23:28 +01:00
parent c1220da879
commit 261cde3e28

View file

@ -257,6 +257,9 @@ Note that these values can be prepare with javascript in the theme by using a [c
}
const sourceV = source[key];
if(target === null){
return source
}
const targetV = target[key]
if (typeof sourceV === "object") {
if (sourceV === null) {