| ... | ... | @@ -27,6 +27,16 @@ export function LoadBalancingSettings({ |
| 27 | 27 | const settingsHydrated = useClientSettingsHydrated(); |
| 28 | 28 | const updateSettings = useUpdateClientSettings(); |
| 29 | 29 | |
| 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 | |
| 30 | 40 | return ( |
| 31 | 41 | <SettingsSection {...searchableSetting("load-balancing")}> |
| 32 | 42 | <SettingsRow |