From 9416f1b60920650265cb99b329bdd8a4352fbf54 Mon Sep 17 00:00:00 2001 From: Chuck Date: Thu, 8 Jan 2026 15:00:51 -0500 Subject: [PATCH] fix: Remove extra closing brace breaking if/else chain Remove stray closing brace at line 3127 that was breaking the if/else chain before the 'else if (prop.enum)' branch, causing 'Unexpected token else' syntax error. Problem: - Extra '}' at line 3127 closed the prop.type === 'array' block prematurely - This broke the if/else chain, causing syntax error when parser reached 'else if (prop.enum)' at line 3128 - Structure was: } else if (array) { ... } } } else if (enum) - extra brace Solution: - Removed the extra closing brace at line 3127 - Structure now correctly: } else if (array) { ... } } else if (enum) - Verified with Node.js syntax checker - no errors --- web_interface/static/v3/plugins_manager.js | 1 - 1 file changed, 1 deletion(-) diff --git a/web_interface/static/v3/plugins_manager.js b/web_interface/static/v3/plugins_manager.js index b3fb8237..370fab28 100644 --- a/web_interface/static/v3/plugins_manager.js +++ b/web_interface/static/v3/plugins_manager.js @@ -3124,7 +3124,6 @@ function generateFieldHtml(key, prop, value, prefix = '') {

Enter values separated by commas

`; } - } } else if (prop.enum) { html += `