feat(config_management): Add field child group count to table fields for groups
ref: #248 #385 #388 nofusscomputing/centurion_erp_ui#23
This commit is contained in:
@ -118,6 +118,9 @@ class ConfigGroupModelSerializer(
|
||||
rendered_config = serializers.JSONField( source = 'render_config', read_only=True )
|
||||
|
||||
|
||||
child_count = serializers.CharField( source = 'count_children', read_only = True )
|
||||
|
||||
|
||||
class Meta:
|
||||
|
||||
model = ConfigGroups
|
||||
@ -127,6 +130,7 @@ class ConfigGroupModelSerializer(
|
||||
'display_name',
|
||||
'organization',
|
||||
'parent',
|
||||
'child_count',
|
||||
'name',
|
||||
'model_notes',
|
||||
'config',
|
||||
|
Reference in New Issue
Block a user