Skip to content

Commit

Permalink
Forgot to add component to main dialog set
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevenic committed Sep 19, 2018
1 parent 783fffb commit 03e9750
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/botbuilder-dialogs/src/componentDialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export class ComponentDialog<O extends object = {}> extends Dialog<O> {
super(typeof dialogStateOrId === 'string' ? dialogStateOrId : dialogId);
if (typeof dialogStateOrId === 'object') {
this.mainDialogSet = new DialogSet(dialogStateOrId);
this.mainDialogSet.add(this);
}
}

Expand Down

0 comments on commit 03e9750

Please sign in to comment.