Fix flow library in menu to support period characters as flow name (#1320)

pull/1325/head
Kazuhito Yokoi 2017-07-04 18:02:24 +09:00 committed by Nick O'Leary
parent 1542f73fa5
commit ac60725d2a
1 changed files with 1 additions and 1 deletions

View File

@ -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);