mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user