Treat null values for IsBrowsable as true (the default)
This commit is contained in:
parent
4c0e442ae1
commit
1be20248da
|
|
@ -48,7 +48,7 @@ namespace Elsa.Server.Api.Endpoints.Activities
|
|||
var activityDescriptor = await _activityTypeService.DescribeActivityType(activityType, cancellationToken);
|
||||
|
||||
// Filter out any non-browsable properties.
|
||||
activityDescriptor.InputProperties = activityDescriptor.InputProperties.Where(x => x.IsBrowsable == true).ToArray();
|
||||
activityDescriptor.InputProperties = activityDescriptor.InputProperties.Where(x => x.IsBrowsable is true or null).ToArray();
|
||||
|
||||
return activityDescriptor;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue