reverting a change in declarative table (#2246)

This commit is contained in:
Leila Lali
2018-08-17 14:50:41 -07:00
committed by GitHub
parent d10e08e63e
commit 1b6328b451
3 changed files with 5 additions and 10 deletions

View File

@@ -36,7 +36,7 @@ class ModelViewPanelImpl implements sqlops.window.modelviewdialog.ModelViewPanel
this._onValidityChanged(valid => this._valid = valid);
}
public registerContent(handler: (view: sqlops.ModelView) => void): void {
public registerContent(handler: (view: sqlops.ModelView) => Thenable<void>): void {
if (!this._modelViewId) {
let viewId = this._viewType + this._handle;
this.setModelViewId(viewId);