Ignore state if the value is empty.
This commit is contained in:
parent
2d04226a14
commit
36f0f2771b
|
|
@ -85,7 +85,10 @@ public partial class ConversationService
|
|||
{
|
||||
foreach (JsonProperty property in root.EnumerateObject())
|
||||
{
|
||||
stateService.SetState(property.Name, property.Value.ToString());
|
||||
if (!string.IsNullOrEmpty(property.Value.ToString()))
|
||||
{
|
||||
stateService.SetState(property.Name, property.Value.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue