Browse Source

Feature tab will not be rendered if there is no item to show

pull/10771/head
liangshiwei 5 years ago
parent
commit
f8e26dc42f
  1. 5
      modules/feature-management/src/Volo.Abp.FeatureManagement.Application/Volo/Abp/FeatureManagement/FeatureAppService.cs

5
modules/feature-management/src/Volo.Abp.FeatureManagement.Application/Volo/Abp/FeatureManagement/FeatureAppService.cs

@ -73,7 +73,10 @@ namespace Volo.Abp.FeatureManagement
SetFeatureDepth(groupDto.Features, providerName, providerKey);
result.Groups.Add(groupDto);
if (groupDto.Features.Any())
{
result.Groups.Add(groupDto);
}
}
return result;

Loading…
Cancel
Save