mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
2d6acfae1b
commit
ed033565a4
@ -23,7 +23,7 @@ function init(_runtime) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getEntry(type,path) {
|
function getEntry(type,path) {
|
||||||
var examples = runtime.nodes.getNodeExampleFlows();
|
var examples = runtime.nodes.getNodeExampleFlows()||{};
|
||||||
var result = [];
|
var result = [];
|
||||||
if (path === "") {
|
if (path === "") {
|
||||||
return Promise.resolve(Object.keys(examples));
|
return Promise.resolve(Object.keys(examples));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user