minor fix for editable records

This commit is contained in:
kkmanos 2022-01-10 11:56:04 +02:00
parent 0b2ad520b7
commit dbd14739e0

View file

@ -78,6 +78,11 @@ def domain(domain_name):
ttl_options = Setting().get_ttl_options()
records = []
if re.search(r'ip6\.arpa|in-addr\.arpa$', domain_name):
records_allow_to_edit = reverse_records_allow_to_edit
else:
records_allow_to_edit = forward_records_allow_to_edit
# Render the "records" to display in HTML datatable
#
# BUG: If we have multiple records with the same name