Skip to content

Commit

Permalink
fix(gbapp\AskDialog.ts): Supress anything_else
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus39x committed May 23, 2023
1 parent a4d0fac commit 6d8feca
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/kb.gbapp/dialogs/AskDialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,11 @@ export class AskDialog extends IGBDialog {

if (step.options && step.options.firstTime) {
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.context.activity.group || (step.options && step.options.emptyPrompt)) {
}
// else if (step.options && step.options.isReturning && !step.context.activity.group) {
// text = Messages[locale].anything_else;
// }
else if (step.context.activity.group || (step.options && step.options.emptyPrompt)) {
text = '';
} else if (user.subjects.length > 0) {
text = Messages[locale].which_question;
Expand Down

0 comments on commit 6d8feca

Please sign in to comment.