From 7d6749528516e828aa05f93235bd4e8d6eb49006 Mon Sep 17 00:00:00 2001 From: Chuck Date: Sun, 4 Jan 2026 19:57:19 -0500 Subject: [PATCH] Remove duplicate array-of-objects check --- web_interface/static/v3/plugins_manager.js | 30 ---------------------- 1 file changed, 30 deletions(-) diff --git a/web_interface/static/v3/plugins_manager.js b/web_interface/static/v3/plugins_manager.js index e877ad4e..9660d0e7 100644 --- a/web_interface/static/v3/plugins_manager.js +++ b/web_interface/static/v3/plugins_manager.js @@ -3049,36 +3049,6 @@ function generateFieldHtml(key, prop, value, prefix = '') { `; }); html += ``; - } else if (prop.items && prop.items.type === 'object' && prop.items.properties) { - // Array of objects widget (like custom_feeds with name, url, enabled, logo) - console.log(`[DEBUG] ✅ Detected array-of-objects widget for ${fullKey}`); - const fieldId = fullKey.replace(/\./g, '_'); - const itemsSchema = prop.items; - const itemProperties = itemsSchema.properties || {}; - const maxItems = prop.maxItems || 50; - const currentItems = Array.isArray(value) ? value : []; - - html += ` -
-
- `; - - // Render existing items - currentItems.forEach((item, index) => { - html += renderArrayObjectItem(fieldId, fullKey, itemProperties, item, index, itemsSchema); - }); - - html += ` -
- - -
- `; } else { // Regular array input console.log(`[DEBUG] ❌ NOT a file upload widget for ${fullKey}, using regular array input`);