First draft of a feature tree pane (#4782)
This commit is contained in:
@ -882,7 +882,7 @@ export function getArtifactFromRange(
|
||||
for (const artifact of artifactGraph.values()) {
|
||||
if ('codeRef' in artifact) {
|
||||
const match =
|
||||
artifact.codeRef.range[0] === range[0] &&
|
||||
artifact.codeRef?.range[0] === range[0] &&
|
||||
artifact.codeRef.range[1] === range[1]
|
||||
if (match) return artifact
|
||||
}
|
||||
|
Reference in New Issue
Block a user