fix(config_management): show parent groups only on index
ref: #248 #385 #388 nofusscomputing/centurion_erp_ui#23
This commit is contained in:
@ -85,7 +85,7 @@ class ViewSet( ModelViewSet ):
|
||||
|
||||
else:
|
||||
|
||||
self.queryset = super().get_queryset()
|
||||
self.queryset = super().get_queryset().filter( parent = None )
|
||||
|
||||
return self.queryset
|
||||
|
||||
|
Reference in New Issue
Block a user