diff --git a/packages/web_ui/src/components/LogConsole.jsx b/packages/web_ui/src/components/LogConsole.jsx index 60b90bea..fdb9f93a 100644 --- a/packages/web_ui/src/components/LogConsole.jsx +++ b/packages/web_ui/src/components/LogConsole.jsx @@ -76,7 +76,7 @@ export default function LogConsole(props) { limit: 400, order: "desc", }).then(result => { - setPastLines(result.log.map((info, index) => formatLog(info, index)).reverse()); + setPastLines(result.log.map((info, index) => formatLog(info, -index - 1)).reverse()); }).catch(err => { setPastLines([{`Error loading log: ${err.message}`}
]); });