mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Config sidebar not handling node definition error properly
This commit is contained in:
parent
8debed805b
commit
a6803081ab
@ -136,8 +136,8 @@ RED.sidebar.config = (function() {
|
|||||||
try {
|
try {
|
||||||
label = node._def.label.call(node);
|
label = node._def.label.call(node);
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
console.log("Definition error: "+node_def.type+".label",err);
|
console.log("Definition error: "+node._def.type+".label",err);
|
||||||
label = node_def.type;
|
label = node._def.type;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user