1
0
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:
jeremystretch
2021-12-03 11:07:16 -05:00
parent a99d14c13f
commit 09b612546b
2 changed files with 3 additions and 0 deletions

View File

@@ -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