From a4a18d2e4b5f27669394212df1db63a66ded995d Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Thu, 2 Jul 2026 21:41:06 +0200 Subject: [PATCH] remove wasLoaded hack --- src/frontend/src/pages/Index/Settings/PluginSettingsGroup.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/frontend/src/pages/Index/Settings/PluginSettingsGroup.tsx b/src/frontend/src/pages/Index/Settings/PluginSettingsGroup.tsx index c74e1d2192..03ec15b477 100644 --- a/src/frontend/src/pages/Index/Settings/PluginSettingsGroup.tsx +++ b/src/frontend/src/pages/Index/Settings/PluginSettingsGroup.tsx @@ -25,14 +25,12 @@ function PluginSettingGroupItem({ }) { // Hide the accordion item if there are no settings for this plugin const [count, setCount] = useState(0); - const [wasLoaded, setWasLoaded] = useState(false); const [doGet, setDoGet] = useState(true); // Callback once the plugin settings have been loaded const onLoaded = useCallback( (settings: SettingsStateProps) => { setCount(settings.getSettingLength()); - setWasLoaded(true); setDoGet(false); }, [pluginKey] @@ -42,7 +40,7 @@ function PluginSettingGroupItem({