Skip to content

Commit 7abddfa

Browse files
committed
fix #2345
1 parent ef51908 commit 7abddfa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/shared/components/Looker/index.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default function Looker(props) {
8282

8383
const bodyRow = (record, cols, i) => (
8484
<tr key={Object.values(record)}>
85-
{ (countRows && (limit <= 0 || i < limit)) ? <td> {i + 1}. </td> : ' ' }
85+
{ (countRows && (limit <= 0 || i < limit)) ? <td style={{ borderTop: '1px solid #D5D5D5' }}> {i + 1}. </td> : ' ' }
8686
{
8787
cols.map((c) => {
8888
const prop = c.property;
@@ -96,11 +96,11 @@ export default function Looker(props) {
9696
value = record[prop].toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
9797
}
9898
}
99-
return (
99+
return value ? (
100100
<td key={record[prop]} style={styles} title={value}>
101101
{value}
102102
</td>
103-
);
103+
) : null;
104104
})
105105
}
106106
</tr>

0 commit comments

Comments
 (0)