mirror of
https://github.com/skylord123/node-red-contrib-gamedig.git
synced 2026-05-01 20:37:57 -06:00
Change how names for nodes are displayed
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
icon: "icons/server.png",
|
||||
label: function() {
|
||||
if(this.host) {
|
||||
return `Query: ${this.host}`;
|
||||
return (this.server_type ? this.server_type : 'Query') + ': ' + this.host + (this.port ? ":" + this.port : '');
|
||||
}
|
||||
|
||||
return this.name || 'Query Game Server';
|
||||
|
||||
Reference in New Issue
Block a user