node-red-node-discovery: remove status text

This commit is contained in:
Nathanaël Lécaudé 2017-11-28 18:09:10 -05:00
parent 991659f9db
commit 7c7c37d8b3

View File

@ -79,7 +79,7 @@ module.exports = function(RED) {
this.stop();
node.ad = mdns.createAdvertisement(service, port, options);
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() {
if (node.ad) {
node.ad.stop();
node.status({fill: "red", shape: "dot", text: "stopped"});
node.status({fill: "red", shape: "ring"});
}
}