mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Dont create i18n function for subflows
This commit is contained in:
parent
a4a29ceb3c
commit
1ed98a5963
@ -136,6 +136,7 @@ RED.nodes = (function() {
|
||||
|
||||
function addNode(n) {
|
||||
var ns;
|
||||
if (n.type.indexOf("subflow") != 0) {
|
||||
if (n._def.set.module === "node-red") {
|
||||
ns = "node-red";
|
||||
} else {
|
||||
@ -148,6 +149,7 @@ RED.nodes = (function() {
|
||||
}
|
||||
return RED._.apply(null,args);
|
||||
}
|
||||
}
|
||||
if (n._def.category == "config") {
|
||||
configNodes[n.id] = n;
|
||||
RED.sidebar.config.refresh();
|
||||
|
Loading…
Reference in New Issue
Block a user