Question explanation #12

Merged
senaduka merged 20 commits from question-explanation into send-message-feature 2018-01-23 12:19:14 +01:00
Showing only changes of commit 0d858ad1c7 - Show all commits

View File

@@ -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] +