File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/containers/SequenceSearch/components/Results Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,9 @@ class Results extends React.Component {
145145 { this . props . entries . map ( ( entry , index ) => (
146146 < ul key = { `${ entry } _${ index } ` } > < Hit entry = { entry } alignmentsCollapsed = { this . props . alignmentsCollapsed } onToggleAlignmentsCollapsed = { this . onToggleAlignmentsCollapsed } customStyle = { this . props . customStyle } databases = { this . props . databases } exactMatchUrsId = { exactMatchUrsId } /> </ ul >
147147 ) ) }
148- { ( this . props . status === "success" || this . props . status === "partial_success" ) && ( this . props . entries . length < this . props . hitCount ) && ( < a className = "button small" onClick = { this . props . onLoadMore } target = "_blank" > Load more</ a > ) }
148+ < div className = "small-12 columns" >
149+ { this . props . status === "loading" ? < i className = "animated infinite flash" > ...</ i > : ( this . props . status === "success" || this . props . status === "partial_success" ) && ( this . props . entries . length < this . props . hitCount ) && ( < a className = "button small" onClick = { this . props . onLoadMore } target = "_blank" > Load more</ a > ) }
150+ </ div >
149151 </ section >
150152 </ div >
151153 </ div >
You can’t perform that action at this time.
0 commit comments