@elicdavis/node-flow 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3131,7 +3131,7 @@ recurseBuildMenu_fn = function(graph, name, subMenu, position) {
3131
3131
  for (let [key, nodeConfig] of subMenu) {
3132
3132
  const slashIndex = key.indexOf("/");
3133
3133
  const bracketIndex = key.indexOf("[");
3134
- if (slashIndex === -1 || bracketIndex < slashIndex) {
3134
+ if (slashIndex === -1 || bracketIndex !== -1 && bracketIndex < slashIndex) {
3135
3135
  items.push({
3136
3136
  name: key,
3137
3137
  callback: () => {