List only questions with explanation
This commit is contained in:
@@ -35,7 +35,7 @@ module.exports = {
|
|||||||
|
|
||||||
let listOfPossibleQuestions = '';
|
let listOfPossibleQuestions = '';
|
||||||
activeSkill.intents.map (intent => {
|
activeSkill.intents.map (intent => {
|
||||||
if (intent.questions.length > 0) {
|
if (intent.questions.length > 0 && intent.intentExplanation) {
|
||||||
listOfPossibleQuestions +=
|
listOfPossibleQuestions +=
|
||||||
intent.intentExplanation +
|
intent.intentExplanation +
|
||||||
intent.questions[0] +
|
intent.questions[0] +
|
||||||
|
|||||||
Reference in New Issue
Block a user