remove offline servers from dropdown

This commit is contained in:
MathMan05 2024-08-29 21:41:55 -05:00
parent fab7cc3d38
commit fc53c8e5f3
2 changed files with 3 additions and 3 deletions

View file

@ -421,7 +421,7 @@ if (datalist) {
instancein.value = json[0].name;
}
for (const instance of json) {
if (instance.display === false) {
if (instance.display === false || !instance.online) {
continue;
}
const option = document.createElement("option");