ソースを参照

feat: Capture task executor null value exception #3409 (#3468)

### 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)
tags/v0.14.0
balibabu 11ヶ月前
コミット
50f7b7e0a3
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更3行の追加4行の削除
  1. 3
    4
      web/src/pages/user-setting/setting-system/task-bar-chat.tsx

+ 3
- 4
web/src/pages/user-setting/setting-system/task-bar-chat.tsx ファイルの表示

@@ -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}>

読み込み中…
キャンセル
保存