fix import (#8116)

This commit is contained in:
Anthony Dresser
2019-10-30 13:11:29 -07:00
committed by GitHub
parent 9f54fbc8cc
commit 827e6162c7

View File

@@ -26,7 +26,7 @@ import { Emitter, Event as vsEvent } from 'vs/base/common/event';
import { StandardKeyboardEvent } from 'vs/base/browser/keyboardEvent';
import { KeyMod, KeyCode } from 'vs/base/common/keyCodes';
import { slickGridDataItemColumnValueWithNoData, textFormatter } from 'sql/base/browser/ui/table/formatters';
import { isNullOrUndefined } from 'util';
import { isUndefinedOrNull } from 'vs/base/common/types';
@Component({
selector: 'modelview-table',
@@ -266,7 +266,7 @@ export default class TableComponent extends ComponentBase implements IComponent,
private updateTableCells(cellInfos): void {
cellInfos.forEach((cellInfo) => {
if (isNullOrUndefined(cellInfo.column) || isNullOrUndefined(cellInfo.row) || cellInfo.row < 0 || cellInfo.row > this.data.length) {
if (isUndefinedOrNull(cellInfo.column) || isUndefinedOrNull(cellInfo.row) || cellInfo.row < 0 || cellInfo.row > this.data.length) {
return;
}