mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 17:22:45 -05:00
Disable next button on Python wizard creation (#18069)
* disable next button on wizard creation * check pages registered in nav validator
This commit is contained in:
@@ -99,6 +99,10 @@ export class ConfigurePythonWizard {
|
||||
});
|
||||
|
||||
this._wizard.registerNavigationValidator(async (info) => {
|
||||
// The pages have not been registered yet
|
||||
if (pages.size === 0) {
|
||||
return false;
|
||||
}
|
||||
let lastPage = pages.get(info.lastPage);
|
||||
let newPage = pages.get(info.newPage);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user