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