From 970010046edb1eb41b403f703d6fc238e00d90f3 Mon Sep 17 00:00:00 2001 From: jeremy Date: Mon, 16 Feb 2026 00:16:51 +0100 Subject: [PATCH] Fix the bug : The `/plugins` page was displaying "Loading..." indefinitely with JavaScript error:... Signed-off-by: jeremy --- _js/plugins.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_js/plugins.js b/_js/plugins.js index fe5440640..b2c3938fe 100644 --- a/_js/plugins.js +++ b/_js/plugins.js @@ -269,7 +269,9 @@ function list(json) { 'ul', { class: 'list-unstyled', id: 'list' }, Object.values(json) - .filter((plugin) => !!plugin && !plugin.alias) + .filter( + (plugin) => !!plugin && !plugin.alias && plugin.length > 0 && plugin[0] && plugin[0].name, + ) .sort((a, b) => a[0].name.localeCompare(b[0].name)) .map((plugin) => plugin[0]) .map((first) =>