From 21b121199bd2f23a491488653efe2a0472f75bd2 Mon Sep 17 00:00:00 2001 From: Terry MacDonald Date: Sun, 19 Sep 2021 21:00:47 +1200 Subject: [PATCH] Fixed ProfileDisplayIdentifier double up Now ProfileItem loads properly from JSON file, which means that the profile matching works, so DisplayMagician now matches the profile if it's current. --- DisplayMagicianShared/ProfileRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DisplayMagicianShared/ProfileRepository.cs b/DisplayMagicianShared/ProfileRepository.cs index f291e34..f6119d5 100644 --- a/DisplayMagicianShared/ProfileRepository.cs +++ b/DisplayMagicianShared/ProfileRepository.cs @@ -701,7 +701,7 @@ namespace DisplayMagicianShared DefaultValueHandling = DefaultValueHandling.Include, //DefaultValueHandling = DefaultValueHandling.Ignore, TypeNameHandling = TypeNameHandling.Auto, - ObjectCreationHandling = ObjectCreationHandling.Auto, + ObjectCreationHandling = ObjectCreationHandling.Replace, }); } catch (Exception ex)