mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-30 17:23:29 -05:00
Fix for edit data grid not showing (#10737)
* Added null check in getHorizontalSashWidth * simplified using tertiary operator * more simplification
This commit is contained in:
@@ -95,7 +95,7 @@ export class HorizontalFlexibleSash extends Disposable implements IHorizontalSas
|
||||
}
|
||||
|
||||
public getHorizontalSashWidth?(): number {
|
||||
return this.dimension.width;
|
||||
return this.dimension?.width ?? 0;
|
||||
}
|
||||
|
||||
public setDimension(dimension: Dimension) {
|
||||
|
||||
Reference in New Issue
Block a user