mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Co-authored-by: Sandeep Somavarapu <sasomava@microsoft.com>
This commit is contained in:
@@ -383,10 +383,10 @@ class MarkerWidget extends Disposable {
|
|||||||
const codeMatches = filterData && filterData.codeMatches || [];
|
const codeMatches = filterData && filterData.codeMatches || [];
|
||||||
code.set(marker.code, codeMatches);
|
code.set(marker.code, codeMatches);
|
||||||
} else {
|
} else {
|
||||||
// TODO@sandeep: these widgets should be disposed
|
|
||||||
const container = dom.$('.marker-code');
|
const container = dom.$('.marker-code');
|
||||||
const code = new HighlightedLabel(container);
|
const code = new HighlightedLabel(container);
|
||||||
new Link(parent, { href: marker.code.target.toString(), label: container, title: marker.code.target.toString() }, undefined, this._openerService);
|
const link = marker.code.target.toString(true);
|
||||||
|
this.disposables.add(new Link(parent, { href: link, label: container, title: link }, undefined, this._openerService));
|
||||||
const codeMatches = filterData && filterData.codeMatches || [];
|
const codeMatches = filterData && filterData.codeMatches || [];
|
||||||
code.set(marker.code.value, codeMatches);
|
code.set(marker.code.value, codeMatches);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user