From 512d5fafac374e102eb98d9c65c591ac0520973f Mon Sep 17 00:00:00 2001 From: cproudlock Date: Wed, 5 Aug 2026 14:25:10 -0400 Subject: [PATCH] Stop an empty box appearing after Notes on the network device form CustomFieldsInputs renders nothing when a site has defined no custom fields, which is the normal state. The network form was the only one wrapping it in a fieldset, and a fieldset draws its border whether or not anything is inside, so an empty bordered box sat below Notes on every new network device. Machines, PCs, printers and measuring tools all place the component bare. This now matches them. --- plugins/network/frontend/views/NetworkDeviceForm.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/plugins/network/frontend/views/NetworkDeviceForm.vue b/plugins/network/frontend/views/NetworkDeviceForm.vue index 87fc027..a10fe55 100644 --- a/plugins/network/frontend/views/NetworkDeviceForm.vue +++ b/plugins/network/frontend/views/NetworkDeviceForm.vue @@ -254,10 +254,12 @@ - -
- -
+ +