mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -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 {
|
public getHorizontalSashWidth?(): number {
|
||||||
return this.dimension.width;
|
return this.dimension?.width ?? 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public setDimension(dimension: Dimension) {
|
public setDimension(dimension: Dimension) {
|
||||||
|
|||||||
Reference in New Issue
Block a user