Skip to content

Commit

Permalink
Fix #1619
Browse files Browse the repository at this point in the history
  • Loading branch information
v-kydela committed Jan 29, 2020
1 parent 9cb4982 commit b6c516e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/botbuilder-dialogs/src/waterfallDialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export class WaterfallDialog<O extends object = {}> extends Dialog<O> {
'InstanceId': instanceId,
}});
} else if (reason === DialogReason.cancelCalled) {
var index = instance.state[state.stepIndex];
var index = state.stepIndex;
var stepName = this.waterfallStepName(index);
this.telemetryClient.trackEvent({name: 'WaterfallCancel', properties: {
'DialogId': this.id,
Expand Down

0 comments on commit b6c516e

Please sign in to comment.