mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +00:00
fix untitled #36
This commit is contained in:
parent
114b7ca913
commit
2ba01c8311
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@
|
||||||
const labels = graphNode.append("text")
|
const labels = graphNode.append("text")
|
||||||
.attr("dx", 12)
|
.attr("dx", 12)
|
||||||
.attr("dy", ".35em")
|
.attr("dy", ".35em")
|
||||||
.text((d) => content[d.id.replace("%20", "-")].title)
|
.text((d) => content[d.id.replace("%20", "-")]?.title || "Untitled")
|
||||||
.style("opacity", 0)
|
.style("opacity", 0)
|
||||||
.style("pointer-events", "none")
|
.style("pointer-events", "none")
|
||||||
.call(drag(simulation));
|
.call(drag(simulation));
|
||||||
|
|
Loading…
Reference in a new issue