mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fix modelview webview to work in query tab (#6119)
* WIP * Rebuild webview when switching tabs * Remove unneeded code * Make ready promise private * Undo edit in sendMessage * Add null check prior to using ready promise * Remove extra whitespace * Rename parameter and fix strict null check errors
This commit is contained in:
@@ -249,7 +249,7 @@ export class QueryResultsView extends Disposable {
|
||||
tab.view._componentId = parts[2];
|
||||
this.dynamicModelViewTabs.push(tab);
|
||||
if (!this._panelView.contains(tab)) {
|
||||
this._panelView.pushTab(tab);
|
||||
this._panelView.pushTab(tab, undefined, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -393,7 +393,7 @@ export class QueryResultsView extends Disposable {
|
||||
|
||||
this.input.state.visibleTabs.add('querymodelview;' + title + ';' + componentId);
|
||||
if (!this._panelView.contains(tab)) {
|
||||
this._panelView.pushTab(tab);
|
||||
this._panelView.pushTab(tab, undefined, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user