mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-14 18:05:51 +08:00
### What problem does this PR solve? feat: Capture task executor null value exception #3409 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
parent
01c2712941
commit
50f7b7e0a3
@ -59,14 +59,13 @@ const TaskBarChat = ({ data }: IProps) => {
|
||||
const firstItem = data[0];
|
||||
const lastItem = data[data.length - 1];
|
||||
|
||||
const domain = [firstItem.now, lastItem.now];
|
||||
|
||||
const domain = [firstItem?.now, lastItem?.now];
|
||||
return (
|
||||
<Flex key={key} className={styles.taskBar} vertical>
|
||||
<div className="flex gap-8">
|
||||
<b className={styles.taskBarTitle}>ID: {key}</b>
|
||||
<b className={styles.taskBarTitle}>Lag: {lastItem.lag}</b>
|
||||
<b className={styles.taskBarTitle}>Pending: {lastItem.pending}</b>
|
||||
<b className={styles.taskBarTitle}>Lag: {lastItem?.lag}</b>
|
||||
<b className={styles.taskBarTitle}>Pending: {lastItem?.pending}</b>
|
||||
</div>
|
||||
<ResponsiveContainer>
|
||||
<BarChart data={data}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user