authorgravatar for maria@kuuro.netmaria <maria@kuuro.net> 2026-09-06 21:43:04-03:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-06 21:43:04-03:00
logefeac144289d0f64bcfe3b9274c616499893be91
treeded16e559ad5255ddf2bc4bbd1fe8a68dd52b436
parent1abc717f0dbd08027b5be4ec45ae6c5bccf96418
signature Signed by PGP key B5690EEEBB952194

fix(web): show load balancing note for a single machine (#10433)


1 files changed, 10 insertions(+), 0 deletions(-)

apps/web/src/components/settings/LoadBalancingSettings.tsx+10
......@@ -27,6 +27,16 @@ export function LoadBalancingSettings({
2727 const settingsHydrated = useClientSettingsHydrated();
2828 const updateSettings = useUpdateClientSettings();
2929
30 if (environments.length < 2) {
31 return (
32 <SettingsSection {...searchableSetting("load-balancing")} variant="plain">
33 <p className="px-3 text-sm text-muted-foreground sm:px-4">
34 Connect another machine to automatically balance load across environments.
35 </p>
36 </SettingsSection>
37 );
38 }
39
3040 return (
3141 <SettingsSection {...searchableSetting("load-balancing")}>
3242 <SettingsRow