Skip to content

Commit

Permalink
MIDRC-153: Fix explorer table header sorting issue (#1554)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocshawn authored Jun 18, 2024
1 parent ac7aa09 commit a251089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GuppyDataExplorer/ExplorerTable/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ class ExplorerTable extends React.Component {
const columnIsEmpty = this.props.rawData.every((colItem) => {
const colData = colItem[tempColumnConfig.id];
// if normal id it should have data, additional check for empty arrays
if (colData && (typeof colData === 'number' || colData.length > 0)) {
if (typeof colData === 'number' || (colData && colData.length > 0)) {
return false;
}
// check if special id with period
Expand Down

0 comments on commit a251089

Please sign in to comment.