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

Fix debug node status to migrate old nodes to correct default mode.

This commit is contained in:
Dave Conway-Jones 2020-06-05 09:48:12 +01:00
parent 4c28b5b227
commit 16a634063a
No known key found for this signature in database
GPG Key ID: 302A6725C594817F

View File

@ -16,7 +16,7 @@ module.exports = function(RED) {
if (this.complete === "false") { this.complete = "payload"; }
this.console = ""+(n.console || false);
this.tostatus = n.tostatus || false;
this.statusType = n.statusType || "msg";
this.statusType = n.statusType || "auto";
this.statusVal = n.statusVal || this.complete;
this.tosidebar = n.tosidebar;
if (this.tosidebar === undefined) { this.tosidebar = true; }