Reverse display order of log messages
This commit is contained in:
parent
caf05d9126
commit
436bcd5677
@ -28,7 +28,9 @@ export function LogsRoute(): React.ReactElement {
|
||||
const [logs, setLogs] = React.useState<LogEntry[] | undefined>();
|
||||
|
||||
const load = async () => {
|
||||
setLogs(await LogsAPI.GetLogs(currDate));
|
||||
const logs = await LogsAPI.GetLogs(currDate);
|
||||
logs.reverse();
|
||||
setLogs(logs);
|
||||
};
|
||||
|
||||
const reload = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user