mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 17:22:45 -05:00
check whether element is undefined (#14981)
This commit is contained in:
@@ -184,6 +184,6 @@ export class ExplorerWidget extends DashboardWidget implements IDashboardWidget,
|
||||
}
|
||||
|
||||
public getTableHeight(): string {
|
||||
return `calc(100% - ${this._input.height}px)`;
|
||||
return this._input ? `calc(100% - ${this._input.height}px)` : '100%';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user