|
|
|
@ -58,9 +58,9 @@ class LogsTableRow extends Component {
|
|
|
|
|
render() {
|
|
|
|
|
const {
|
|
|
|
|
level,
|
|
|
|
|
time,
|
|
|
|
|
logger,
|
|
|
|
|
message,
|
|
|
|
|
time,
|
|
|
|
|
exception,
|
|
|
|
|
columns
|
|
|
|
|
} = this.props;
|
|
|
|
@ -96,6 +96,15 @@ class LogsTableRow extends Component {
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (name === 'time') {
|
|
|
|
|
return (
|
|
|
|
|
<RelativeDateCellConnector
|
|
|
|
|
key={name}
|
|
|
|
|
date={time}
|
|
|
|
|
/>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (name === 'logger') {
|
|
|
|
|
return (
|
|
|
|
|
<TableRowCell key={name}>
|
|
|
|
@ -112,15 +121,6 @@ class LogsTableRow extends Component {
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (name === 'time') {
|
|
|
|
|
return (
|
|
|
|
|
<RelativeDateCellConnector
|
|
|
|
|
key={name}
|
|
|
|
|
date={time}
|
|
|
|
|
/>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (name === 'actions') {
|
|
|
|
|
return (
|
|
|
|
|
<TableRowCell
|
|
|
|
@ -148,9 +148,9 @@ class LogsTableRow extends Component {
|
|
|
|
|
|
|
|
|
|
LogsTableRow.propTypes = {
|
|
|
|
|
level: PropTypes.string.isRequired,
|
|
|
|
|
time: PropTypes.string.isRequired,
|
|
|
|
|
logger: PropTypes.string.isRequired,
|
|
|
|
|
message: PropTypes.string.isRequired,
|
|
|
|
|
time: PropTypes.string.isRequired,
|
|
|
|
|
exception: PropTypes.string,
|
|
|
|
|
columns: PropTypes.arrayOf(PropTypes.object).isRequired
|
|
|
|
|
};
|
|
|
|
|