mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix flow library in menu to support period characters as flow name (#1320)
This commit is contained in:
parent
1542f73fa5
commit
ac60725d2a
@ -196,7 +196,7 @@ function listFlows(path) {
|
||||
if (r.value.fn) {
|
||||
var name = r.value.name;
|
||||
if (!name) {
|
||||
name = r.value.fn.split(".")[0];
|
||||
name = r.value.fn.replace(/\.json$/, "");
|
||||
}
|
||||
result.f = result.f || [];
|
||||
result.f.push(name);
|
||||
|
Loading…
Reference in New Issue
Block a user