fix(StudyList): camel case colSpan (#1123)

This commit is contained in:
米老朱 2019-10-29 19:05:36 +08:00 committed by Erik Ziegler
parent a0180a9f0c
commit 0d498ba17d

View File

@ -145,14 +145,14 @@ function StudyList(props) {
{/* LOADING */} {/* LOADING */}
{isLoading && ( {isLoading && (
<tr className="no-hover"> <tr className="no-hover">
<td colspan={tableMeta.length}> <td colSpan={tableMeta.length}>
<StudyListLoadingText /> <StudyListLoadingText />
</td> </td>
</tr> </tr>
)} )}
{!isLoading && hasError && ( {!isLoading && hasError && (
<tr className="no-hover"> <tr className="no-hover">
<td colspan={tableMeta.length}> <td colSpan={tableMeta.length}>
<div className="notFound"> <div className="notFound">
{t('There was an error fetching studies')} {t('There was an error fetching studies')}
</div> </div>
@ -162,7 +162,7 @@ function StudyList(props) {
{/* EMPTY */} {/* EMPTY */}
{!isLoading && !studies.length && ( {!isLoading && !studies.length && (
<tr className="no-hover"> <tr className="no-hover">
<td colspan={tableMeta.length}> <td colSpan={tableMeta.length}>
<div className="notFound">{t('No matching results')}</div> <div className="notFound">{t('No matching results')}</div>
</td> </td>
</tr> </tr>