fix(gbapp\AskDialog.ts): Supress anything_else
This commit is contained in:
parent
a4d0facbf0
commit
6d8feca871
1 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue