Rename variable to groupId as opposed to tabId as this is what it actually is

This commit is contained in:
Warren Buckley
2021-03-19 11:52:38 +00:00
parent 0e356b8b93
commit 44c955cccc

View File

@@ -117,7 +117,7 @@ namespace Umbraco.Core.Persistence.Factories
return dto;
}
internal static PropertyTypeDto BuildPropertyTypeDto(int tabId, PropertyType propertyType, int contentTypeId)
internal static PropertyTypeDto BuildPropertyTypeDto(int groupId, PropertyType propertyType, int contentTypeId)
{
var propertyTypeDto = new PropertyTypeDto
{
@@ -136,9 +136,9 @@ namespace Umbraco.Core.Persistence.Factories
LabelOnTop = propertyType.LabelOnTop
};
if (tabId != default)
if (groupId != default)
{
propertyTypeDto.PropertyTypeGroupId = tabId;
propertyTypeDto.PropertyTypeGroupId = groupId;
}
else
{