mckuhei 2 years ago
parent 08cefc4fbb
commit 64b6909116

@ -80,7 +80,7 @@
$("#type-dropdown").append("<option>" + type + "</option>"); $("#type-dropdown").append("<option>" + type + "</option>");
}); });
// Hide if there is only have server. // Hide if there is only have server.
if(types.length == 1 && types[0] == "Cliet") $("#type-dropdown").attr("hidden", true); if(types.length == 1 && types[0] == "Client") $("#type-dropdown").attr("hidden", true);
$("#type-dropdown").change(); $("#type-dropdown").change();
}); });
Object.keys(result).forEach(element => { Object.keys(result).forEach(element => {

Loading…
Cancel
Save