mirror of
https://github.com/James-Yu/LaTeX-Workshop.git
synced 2024-10-05 15:50:41 +03:00
Fix #2189 duplicate cite entries
This commit is contained in:
parent
2b08bb5367
commit
929b9c446f
@ -106,7 +106,7 @@ export class Citation implements IProvider {
|
||||
// Already included
|
||||
continue
|
||||
}
|
||||
bibs = bibs.concat(this.getIncludedBibs(child.file, visitedTeX))
|
||||
bibs = Array.from(new Set(bibs.concat(this.getIncludedBibs(child.file, visitedTeX))))
|
||||
}
|
||||
return bibs
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user