1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #7072: Fix table configuration under prefix child object views

This commit is contained in:
jeremystretch
2021-08-31 11:15:41 -04:00
parent 8036d1e5a5
commit 7db2b9d091
8 changed files with 34 additions and 22 deletions

View File

@@ -401,7 +401,7 @@ def badge(value, bg_class='secondary', show_empty=False):
def table_config_form(table, table_name=None):
return {
'table_name': table_name or table.__class__.__name__,
'table_config_form': TableConfigForm(table=table),
'form': TableConfigForm(table=table),
}