mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-20 12:56:55 +08:00
feat: Fetch conversation list by @tanstack/react-query and displays error message that task_executor does not exist #2088 (#2112)
### What problem does this PR solve? feat: Fetch conversation list by @tanstack/react-query feat: Displays error message that task_executor does not exist ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -70,9 +70,13 @@ const SystemInfo = () => {
|
||||
key={key}
|
||||
>
|
||||
{key === 'task_executor' ? (
|
||||
<TaskBarChat
|
||||
data={info.elapsed as TaskExecutorElapsed}
|
||||
></TaskBarChat>
|
||||
info?.elapsed ? (
|
||||
<TaskBarChat
|
||||
data={info.elapsed as TaskExecutorElapsed}
|
||||
></TaskBarChat>
|
||||
) : (
|
||||
<Text className={styles.error}>{info.error}</Text>
|
||||
)
|
||||
) : (
|
||||
Object.keys(info)
|
||||
.filter((x) => x !== 'status')
|
||||
|
||||
Reference in New Issue
Block a user