mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-07-31 18:36:44 +02:00
Disable the region selection box when the server lis is empty
This commit is contained in:
@@ -344,6 +344,8 @@ export function setupSettingsUi() {
|
||||
$control.appendChild($option);
|
||||
}
|
||||
|
||||
$control.disabled = Object.keys(STATES.serverRegions).length === 0;
|
||||
|
||||
// Select preferred region
|
||||
$control.value = selectedValue;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user