mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Omit actions column from non-paginated child object tables
This commit is contained in:
@@ -178,6 +178,7 @@ class ContactGroupView(generic.ObjectView):
|
||||
parent__in=instance.get_descendants(include_self=True)
|
||||
)
|
||||
child_groups_table = tables.ContactGroupTable(child_groups)
|
||||
child_groups_table.columns.hide('actions')
|
||||
|
||||
contacts = Contact.objects.restrict(request.user, 'view').filter(
|
||||
group=instance
|
||||
|
Reference in New Issue
Block a user