mirror of
https://github.com/skylord123/node-red-contrib-gamedig.git
synced 2025-04-10 08:03:08 -06:00
Change how names for nodes are displayed
This commit is contained in:
parent
52bddfa603
commit
a2a4f47604
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user