We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef51908 commit 7abddfaCopy full SHA for 7abddfa
src/shared/components/Looker/index.jsx
@@ -82,7 +82,7 @@ export default function Looker(props) {
82
83
const bodyRow = (record, cols, i) => (
84
<tr key={Object.values(record)}>
85
- { (countRows && (limit <= 0 || i < limit)) ? <td> {i + 1}. </td> : ' ' }
+ { (countRows && (limit <= 0 || i < limit)) ? <td style={{ borderTop: '1px solid #D5D5D5' }}> {i + 1}. </td> : ' ' }
86
{
87
cols.map((c) => {
88
const prop = c.property;
@@ -96,11 +96,11 @@ export default function Looker(props) {
96
value = record[prop].toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
97
}
98
99
- return (
+ return value ? (
100
<td key={record[prop]} style={styles} title={value}>
101
{value}
102
</td>
103
- );
+ ) : null;
104
})
105
106
</tr>
0 commit comments