From a444de453a0ef30169cfe70b0dc570d2c58c49f8 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Tue, 20 Jan 2026 16:08:26 +0000 Subject: [PATCH] fix(ui): Fix Proxmox settings tab selection not updating visually. Related to #1127 SolidJS requires reactive comparisons inside For loops to use getter functions. Changed isActive from a static value to a getter function in both SettingsSectionNav.tsx and Settings.tsx mobile tabs. --- frontend-modern/src/components/Settings/Settings.tsx | 4 ++-- .../src/components/Settings/SettingsSectionNav.tsx | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend-modern/src/components/Settings/Settings.tsx b/frontend-modern/src/components/Settings/Settings.tsx index bb60e4710..de4eb897a 100644 --- a/frontend-modern/src/components/Settings/Settings.tsx +++ b/frontend-modern/src/components/Settings/Settings.tsx @@ -2545,7 +2545,7 @@ const Settings: Component = (props) => { > {(tab) => { - const isActive = activeTab() === tab.id; + const isActive = () => activeTab() === tab.id; const disabled = tab.disabled; return (