Skip to content

Commit

Permalink
[Platform]: Validation CRISPR not showing significance indicator (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
carcruz authored Jul 12, 2023
1 parent 4044338 commit ea5174a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions apps/platform/src/sections/evidence/OTValidation/Body.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,15 +203,15 @@ const getColumns = classes => [
label: 'OTVL hit',
tooltip: <>Binary assessment of gene perturbation effect in contrast</>,
renderCell: row => (
<HitIcon isHit={isHit(row.confidence)} classes={classes} />
<HitIcon isHitValue={isHit(row.confidence)} classes={classes} />
),
width: '8%',
},
{
id: 'projectHit',
label: 'Primary project hit',
renderCell: row => (
<HitIcon isHit={isHit(row.expectedConfidence)} classes={classes} />
<HitIcon isHitValue={isHit(row.expectedConfidence)} classes={classes} />
),
width: '8%',
},
Expand Down Expand Up @@ -306,9 +306,7 @@ export function BodyCore({ definition, id, label, count }) {
),
'label'
// sort alphabetically but move 'PAN-CO' at the end of the list
).sort((a, b) =>
(b.label === 'PAN-CO' || a.label < b.label) ? -1 : 1
);
).sort((a, b) => (b.label === 'PAN-CO' || a.label < b.label ? -1 : 1));

return (
<>
Expand Down

0 comments on commit ea5174a

Please sign in to comment.