Skip to content

Commit

Permalink
KPMP-3583: What is going on?
Browse files Browse the repository at this point in the history
  • Loading branch information
rlreamy committed Sep 18, 2023
1 parent e84d7e4 commit fa02b20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Summary/GeneSummary.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ class GeneSummary extends Component {
}

formatCountRow = (row, type) => {
let hasData = this.dataTypeHasData(row)
let dataTypeIsClickable = this.dataTypeIsClickable(row["dataTypeShort"])
if (row[type] === 0 || !dataTypeIsClickable) {
if (!hasData || !dataTypeIsClickable) {
return '-'
}
return row[type]
Expand Down

0 comments on commit fa02b20

Please sign in to comment.