Skip to content

Commit 9e34fc3

Browse files
committed
Prefer Lex V1 response cards over Lex V2 in the case where both are present. In QnABot result both a V1 and V2 response card will be present. V1 response cards might contain additional buttons not present in the V2 response card. When both are present, prefer the V1 response card.
1 parent 9689213 commit 9e34fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lex-web-ui/src/components/Message.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
</response-card>
120120
</v-flex>
121121
<v-flex
122-
v-if="shouldDisplayResponseCardV2"
122+
v-if="shouldDisplayResponseCardV2 && !shouldDisplayResponseCard"
123123
>
124124
<v-flex v-for="(item, index) in message.responseCardsLexV2"
125125
class="response-card"

0 commit comments

Comments
 (0)