mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-25 11:16:43 +02:00
potential question fix
This commit is contained in:
@@ -251,9 +251,13 @@ export const AgenticMessage = ({
|
|||||||
: docs
|
: docs
|
||||||
}
|
}
|
||||||
subQuestions={
|
subQuestions={
|
||||||
isViewingInitialAnswer
|
(isViewingInitialAnswer
|
||||||
? subQuestions || []
|
? subQuestions && subQuestions.length > 0
|
||||||
: [...(subQuestions || []), ...(secondLevelSubquestions || [])]
|
? subQuestions
|
||||||
|
: secondLevelSubquestions
|
||||||
|
: secondLevelSubquestions && secondLevelSubquestions.length > 0
|
||||||
|
? secondLevelSubquestions
|
||||||
|
: subQuestions) || undefined
|
||||||
}
|
}
|
||||||
openQuestion={openQuestion}
|
openQuestion={openQuestion}
|
||||||
>
|
>
|
||||||
|
Reference in New Issue
Block a user