Verified Commit 5fa75fcd authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

#1299 Hide hidden custom fields from ipam view

parent 316fce34
Pipeline #23138 passed with stages
in 12 minutes and 12 seconds
......@@ -194,6 +194,8 @@ class IPAMApplication(ExtApplication):
#
# Add custom fields
for f in CustomField.table_fields("ip_prefix"):
if f.is_hidden:
continue
v = getattr(prefix, f.name)
prefix_info += [(f.label, v if v is not None else "")]
# Ranges
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment