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