Remove the empty custom-fields box on the network device form

This commit is contained in:
2026-08-05 14:43:10 -04:00
parent 07d390789a
commit c965494189

View File

@@ -254,10 +254,12 @@
</div>
</fieldset>
<!-- Site-defined custom fields for network devices -->
<fieldset>
<CustomFieldsInputs ref="customFieldsRef" :assettypeid="NETWORK_ASSETTYPEID" :assetid="currentAssetId" />
</fieldset>
<!-- Site-defined custom fields for network devices.
NOT wrapped in a fieldset: the component renders nothing when a site
has defined no custom fields, but a fieldset draws its border either
way, so an empty box appeared after Notes. Every other asset form
places this bare; this one was the exception. -->
<CustomFieldsInputs ref="customFieldsRef" :assettypeid="NETWORK_ASSETTYPEID" :assetid="currentAssetId" />
<!-- Form Actions -->
<div class="form-actions">