mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Add additional properties to wizard page navigation events (#17716)
This commit is contained in:
@@ -227,7 +227,10 @@ export class WizardModal extends Modal {
|
|||||||
.withAdditionalProperties({
|
.withAdditionalProperties({
|
||||||
wizardName: this._wizard.name,
|
wizardName: this._wizard.name,
|
||||||
pageNavigationFrom: this._wizard.pages[prevPageIndex].pageName ?? prevPageIndex,
|
pageNavigationFrom: this._wizard.pages[prevPageIndex].pageName ?? prevPageIndex,
|
||||||
pageNavigationTo: this._wizard.pages[index].pageName ?? index
|
pageNavigationTo: this._wizard.pages[index].pageName ?? index,
|
||||||
|
pageNavigationFromIndex: prevPageIndex,
|
||||||
|
pageNavigationToIndex: index,
|
||||||
|
direction: index > prevPageIndex ? 'forward' : 'backward'
|
||||||
}).send();
|
}).send();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user