@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.mjs CHANGED
@@ -3094,7 +3094,7 @@ recurseBuildMenu_fn = function(graph, name, subMenu, position) {
3094
3094
  for (let [key, nodeConfig] of subMenu) {
3095
3095
  const slashIndex = key.indexOf("/");
3096
3096
  const bracketIndex = key.indexOf("[");
3097
- if (slashIndex === -1 || bracketIndex < slashIndex) {
3097
+ if (slashIndex === -1 || bracketIndex !== -1 && bracketIndex < slashIndex) {
3098
3098
  items.push({
3099
3099
  name: key,
3100
3100
  callback: () => {