Auto-refresh OE with table designer (#23370)

This commit is contained in:
Hai Cao
2023-06-12 09:16:41 -07:00
committed by GitHub
parent c98cbc0896
commit 437f216cda
11 changed files with 63 additions and 17 deletions

View File

@@ -39,10 +39,11 @@ export class TableDesignerInput extends EditorInput {
private _provider: TableDesignerProvider,
tableInfo: azdata.designers.TableInfo,
telemetryInfo: { [key: string]: string },
objectExplorerContext: azdata.ObjectExplorerContext,
@IInstantiationService private readonly _instantiationService: IInstantiationService,
@INotificationService private readonly _notificationService: INotificationService) {
super();
this._designerComponentInput = this._instantiationService.createInstance(TableDesignerComponentInput, this._provider, tableInfo, telemetryInfo);
this._designerComponentInput = this._instantiationService.createInstance(TableDesignerComponentInput, this._provider, tableInfo, telemetryInfo, objectExplorerContext);
this._register(this._designerComponentInput.onStateChange((e) => {
if (e.previousState.pendingAction === 'publish') {
this.setEditorLabel();