From 261cde3e28fb860131473bd5c9d61ee94d10a089 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Tue, 9 Nov 2021 18:23:28 +0100 Subject: [PATCH] Let 'merge' deal with null --- Utils.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Utils.ts b/Utils.ts index 30727e345..5506f5973 100644 --- a/Utils.ts +++ b/Utils.ts @@ -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) {