vue-hook-optimizer 0.0.76 → 0.0.77
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.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
@@ -2099,10 +2099,10 @@ function getMermaidText(graph, nodesUsedInTemplate, nodesUsedInStyle = /* @__PUR
|
|
2099
2099
|
});
|
2100
2100
|
graph.edges.forEach((edge, key) => {
|
2101
2101
|
edge.forEach((to) => {
|
2102
|
-
if (!to) {
|
2102
|
+
if (!to || !to.node.label) {
|
2103
2103
|
return;
|
2104
2104
|
}
|
2105
|
-
mermaidText += ` ${key.label} --> ${to.label}
|
2105
|
+
mermaidText += ` ${key.label} --> ${to.node.label}
|
2106
2106
|
`;
|
2107
2107
|
});
|
2108
2108
|
});
|