mirror of
https://github.com/quartz-community/graph.git
synced 2026-07-22 02:50:25 +00:00
fix: simplify link destination slugs to match data keys
This commit is contained in:
parent
ec40417724
commit
4ac30d2b93
1 changed files with 1 additions and 1 deletions
|
|
@ -265,7 +265,7 @@ const graphScript = `
|
|||
data.forEach(function(details, source) {
|
||||
var outgoing = details.links || [];
|
||||
for (var i = 0; i < outgoing.length; i++) {
|
||||
var dest = outgoing[i];
|
||||
var dest = simplifySlug(outgoing[i]);
|
||||
if (validLinks.has(dest)) {
|
||||
links.push({ source: source, target: dest });
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue