File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/containers/SequenceSearch/components/Results Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -91,10 +91,10 @@ class Results extends React.Component {
9191 }
9292 {
9393 this . props . jobId && this . props . rfam && (
94- ( this . props . infernalStatus === "loading" || this . props . infernalStatus === "success" ) && [
95- < div className = "small-12 columns" key = { `infernal-div` } >
96- < h3 style = { h3Style } > Rfam classification: { this . props . infernalStatus === "loading" ? < i className = "animated infinite flash" > ... </ i > : '' } </ h3 >
97- < table className = "responsive-table" >
94+ < div className = "small-12 columns" key = { `infernal-div` } >
95+ < h3 style = { h3Style } > Rfam classification: { this . props . infernalStatus === "loading" ? < i className = "animated infinite flash" > ... </ i > : this . props . infernalEntries && this . props . infernalEntries . length ? < small > { this . props . infernalEntries . length } </ small > : < small > 0 </ small > } </ h3 >
96+ { this . props . infernalStatus === "success" && [
97+ < table className = "responsive-table" key = { `infernal-table` } >
9898 < thead >
9999 < tr >
100100 < th > Family</ th >
@@ -120,8 +120,8 @@ class Results extends React.Component {
120120 ) ) : < tr key = { "noResults" } > < td colSpan = "7" style = { { textAlign : 'center' } } > The query sequence did not match any Rfam families.</ td > </ tr > }
121121 </ tbody >
122122 </ table >
123- </ div >
124- ]
123+ ] }
124+ </ div >
125125 )
126126 }
127127 {
You can’t perform that action at this time.
0 commit comments