We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent accb812 commit d588799Copy full SHA for d588799
src/BootstrapBlazor.Server/Components/Samples/Sockets/DataEntities.razor
@@ -89,7 +89,7 @@ if (attr is { Type: not null })
89
{
90
var value = attr.ConvertTo(data);
91
var valueType = value?.GetType();
92
- if (valueType != null && p.PropertyType.IsAssignableFrom(valueType))
+ if (p.PropertyType.IsAssignableFrom(valueType))
93
94
p.SetValue(entity, value);
95
}
0 commit comments