mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 23:57:19 +02:00
Disable the region selection box when the server lis is empty
This commit is contained in:
parent
9d00082c67
commit
66d5d9edc6
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user