Skip to content

Commit

Permalink
Fix query merge
Browse files Browse the repository at this point in the history
  • Loading branch information
timo95 committed Mar 5, 2024
1 parent 5cdb212 commit 38f9bb6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tooltip/tooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ function mergeData(target: StashEntry[], source: StashEntry[]): StashEntry[] {

sourceQueries.forEach((sourceQuery, key) => {
if (targetQueries.has(key)) {
new StashQueryClass(sourceQuery).addTypes(targetQueries.get(key)!.types)
let s = new StashQueryClass(sourceQuery)
s.addTypes(targetQueries.get(key)!.types)
sourceQuery = s
}
targetQueries.set(key, sourceQuery)
});
Expand Down

0 comments on commit 38f9bb6

Please sign in to comment.