set minimum ServerRequired list size to 1 (#1434)

The server list in ServerRequired was expecting at least 2 items before it was shown, meaning that if you are on the login screen, you couldn't select your configured server and had to add another one.
This commit is contained in:
Fleeym
2025-12-23 05:45:40 +02:00
committed by GitHub
parent 7a77b9bfe7
commit b02eba510d
@@ -30,7 +30,7 @@ export const ServerRequired = () => {
const isServerLock = Boolean(window.SERVER_LOCK) || false;
if (Object.keys(serverList).length > 1) {
if (Object.keys(serverList).length > 0) {
return (
<ScrollArea>
<Stack miw="300px">