update loss chk
This commit is contained in:
@@ -5,7 +5,7 @@ import {convertTime, padding} from '../../../../tools';
|
||||
const ListItem = ({i18n, data}) => {
|
||||
|
||||
return (
|
||||
<Table.Row style={{color: padding(data.timestamp, 13, 1, '0') < (Date.now() - 60000) ? '#f00' : 'inherit'}}>
|
||||
<Table.Row style={{color: data.loss != 0 ? '#f00' : 'inherit'}}>
|
||||
<Table.Cell>{data.wristband}</Table.Cell>
|
||||
<Table.Cell>{data.name}</Table.Cell>
|
||||
<Table.Cell>{data.locname}</Table.Cell>
|
||||
|
||||
Reference in New Issue
Block a user