We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6eeddf5 commit b7cd3e5Copy full SHA for b7cd3e5
app/containers/Inspect.jsx
@@ -101,7 +101,7 @@ const Inspect = () => {
101
})
102
.nodeThreeObject((node) => {
103
const nodeEl = document.createElement('div');
104
- nodeEl.textContent = node.path;
+ nodeEl.textContent = node.path.split('/').pop().replace(/:.*/, '');
105
nodeEl.style.color = node.color;
106
nodeEl.className = 'node-label';
107
return new CSS2DObject(nodeEl);
0 commit comments