mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
show # messages, use msgpack to compress json
This commit is contained in:
@@ -5,6 +5,8 @@ import {
|
||||
SelectValidator
|
||||
} from 'react-material-ui-form-validator';
|
||||
|
||||
import { Typography } from '@material-ui/core';
|
||||
|
||||
import MenuItem from '@material-ui/core/MenuItem';
|
||||
|
||||
import {
|
||||
@@ -79,6 +81,9 @@ class LogEventForm extends Component<LogEventFormProps> {
|
||||
<MenuItem value={7}>DEBUG</MenuItem>
|
||||
<MenuItem value={8}>TRACE</MenuItem>
|
||||
</SelectValidator>
|
||||
<Typography color="primary" variant="body2">
|
||||
<i>Only the last {data.max_messages} messages are shown</i>
|
||||
</Typography>
|
||||
</ValidatorForm>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user