Merge pull request #89 from PepperDash/hotfix/add-joinmap-object-to-merge

Hotfix/add joinmap object to merge
This commit is contained in:
Neil Dorin 2021-01-21 17:00:10 -07:00 committed by GitHub
commit 34062f6fee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,6 +108,11 @@ namespace PepperDash.Core.Config
else
merged.Add("tieLines", new JArray());
if (template["joinMaps"] != null)
merged.Add("joinMaps", template["joinMaps"]);
else
merged.Add("joinMaps", new JObject());
if (system["global"] != null)
merged.Add("global", Merge(template["global"], system["global"], "global"));
else