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