mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
node-red-node-discovery: remove status text
This commit is contained in:
parent
991659f9db
commit
7c7c37d8b3
@ -79,7 +79,7 @@ module.exports = function(RED) {
|
|||||||
this.stop();
|
this.stop();
|
||||||
node.ad = mdns.createAdvertisement(service, port, options);
|
node.ad = mdns.createAdvertisement(service, port, options);
|
||||||
node.ad.start();
|
node.ad.start();
|
||||||
node.status({fill: "green", shape: "dot", text: "started"});
|
node.status({fill: "green", shape: "dot"});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ module.exports = function(RED) {
|
|||||||
this.stop = function() {
|
this.stop = function() {
|
||||||
if (node.ad) {
|
if (node.ad) {
|
||||||
node.ad.stop();
|
node.ad.stop();
|
||||||
node.status({fill: "red", shape: "dot", text: "stopped"});
|
node.status({fill: "red", shape: "ring"});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user