king
2022-10-26 fb64bcf1fab18b33d21470c83f28d4cda8d309ce
src/menu/tablenodes/index.jsx
@@ -87,6 +87,23 @@
      })
    } else {
      traversal(config.components)
      if (config.interfaces) {
        config.interfaces.forEach(item => {
          if (item.$tables) {
            ptbs.push(...item.$tables)
            item.$tables.forEach(tb => {
              tbs.push({
                label: item.name,
                table: tb,
                color: '#5AD8A6',
                id: Utils.getuuid(),
                direction: 'left'
              })
            })
          }
        })
      }
    }
    return {tbs, ptbs}