fix(config_management): show parent groups only on index

ref: #248 #385 #388 nofusscomputing/centurion_erp_ui#23
This commit is contained in:
2024-11-15 14:15:03 +09:30
parent 16927fc732
commit 5899bb17ca

View File

@ -85,7 +85,7 @@ class ViewSet( ModelViewSet ):
else:
self.queryset = super().get_queryset()
self.queryset = super().get_queryset().filter( parent = None )
return self.queryset