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

Fixes #8305: Fix assignment of custom field data to FHRP groups via UI

This commit is contained in:
jeremystretch
2022-01-10 15:26:01 -05:00
parent d5443adc74
commit dd0b16bff5
3 changed files with 4 additions and 1 deletions

View File

@@ -592,6 +592,8 @@ class FHRPGroupForm(CustomFieldModelForm):
return instance
def clean(self):
super().clean()
ip_vrf = self.cleaned_data.get('ip_vrf')
ip_address = self.cleaned_data.get('ip_address')
ip_status = self.cleaned_data.get('ip_status')

View File

@@ -60,7 +60,7 @@ class FHRPGroupAssignmentTable(BaseTable):
)
actions = ButtonsColumn(
model=FHRPGroupAssignment,
buttons=('edit', 'delete', 'foo')
buttons=('edit', 'delete')
)
class Meta(BaseTable.Meta):