fix(gbapp\AskDialog.ts): Supress anything_else

This commit is contained in:
Matheus C 2023-05-22 22:04:57 -03:00
parent a4d0facbf0
commit 6d8feca871

View file

@ -106,9 +106,11 @@ export class AskDialog extends IGBDialog {
if (step.options && step.options.firstTime) { if (step.options && step.options.firstTime) {
text = Messages[locale].ask_first_time; text = Messages[locale].ask_first_time;
} else if (step.options && step.options.isReturning && !step.context.activity.group) { }
text = Messages[locale].anything_else; // else if (step.options && step.options.isReturning && !step.context.activity.group) {
} else if (step.context.activity.group || (step.options && step.options.emptyPrompt)) { // text = Messages[locale].anything_else;
// }
else if (step.context.activity.group || (step.options && step.options.emptyPrompt)) {
text = ''; text = '';
} else if (user.subjects.length > 0) { } else if (user.subjects.length > 0) {
text = Messages[locale].which_question; text = Messages[locale].which_question;