Skip to content

Commit a251089

Browse files
authored
MIDRC-153: Fix explorer table header sorting issue (#1554)
1 parent ac7aa09 commit a251089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GuppyDataExplorer/ExplorerTable/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ class ExplorerTable extends React.Component {
318318
const columnIsEmpty = this.props.rawData.every((colItem) => {
319319
const colData = colItem[tempColumnConfig.id];
320320
// if normal id it should have data, additional check for empty arrays
321-
if (colData && (typeof colData === 'number' || colData.length > 0)) {
321+
if (typeof colData === 'number' || (colData && colData.length > 0)) {
322322
return false;
323323
}
324324
// check if special id with period

0 commit comments

Comments
 (0)