mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fix empty extra node help content issue
This commit is contained in:
@@ -381,8 +381,10 @@ function getNodeHelp(node,lang) {
|
||||
}
|
||||
if (help) {
|
||||
node.help[lang] = help;
|
||||
} else if (lang === runtime.i18n.defaultLang) {
|
||||
return null;
|
||||
} else {
|
||||
node.help[lang] = node.help[runtime.i18n.defaultLang];
|
||||
node.help[lang] = getNodeHelp(node, runtime.i18n.defaultLang);
|
||||
}
|
||||
}
|
||||
return node.help[lang];
|
||||
|
Reference in New Issue
Block a user