We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
null
1 parent 7a7fc14 commit 144605aCopy full SHA for 144605a
1 file changed
packages/iris-grid/src/GotoRow.tsx
@@ -15,7 +15,6 @@ import {
15
} from '@deephaven/filters';
16
import { Button, DateTimeInput } from '@deephaven/components';
17
import { TableUtils } from '@deephaven/jsapi-utils';
18
-import { assertNotNull } from '@deephaven/utils';
19
import classNames from 'classnames';
20
import './GotoRow.scss';
21
import IrisGridModel from './IrisGridModel';
@@ -96,8 +95,7 @@ function GotoRow({
96
95
97
const index = model.getColumnIndexByName(gotoValueSelectedColumnName);
98
99
- assertNotNull(index);
100
- const selectedColumn = columns[index];
+ const selectedColumn = columns[index ?? 0];
101
102
const columnType = selectedColumn?.type;
103
0 commit comments