mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -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 {
|
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