1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

TCP out - tidy up select of which rows to display

to help address #2525
This commit is contained in:
Dave Conway-Jones 2020-04-03 11:14:23 +01:00
parent 9d4400349b
commit 1d417c07cd
No known key found for this signature in database
GPG Key ID: 302A6725C594817F

View File

@ -170,15 +170,14 @@
$("#node-input-port-row").hide(); $("#node-input-port-row").hide();
$("#node-input-host-row").hide(); $("#node-input-host-row").hide();
$("#node-input-end-row").hide(); $("#node-input-end-row").hide();
} else if (sockettype == "client"){
$("#node-input-port-row").show();
$("#node-input-host-row").show();
$("#node-input-end-row").show();
} else { } else {
$("#node-input-port-row").show(); $("#node-input-port-row").show();
$("#node-input-end-row").show();
}
if (sockettype == "client") {
$("#node-input-host-row").show();
} else {
$("#node-input-host-row").hide(); $("#node-input-host-row").hide();
$("#node-input-end-row").show();
} }
}; };
updateOptions(); updateOptions();