mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge pull request #532 from appwrite/fix-wizard-disable-after-submission
fix: disable last step button wizard after submission
This commit is contained in:
@@ -74,8 +74,13 @@
|
||||
|
||||
wizard.setInterceptor(null);
|
||||
if (isLastStep) {
|
||||
$wizard.nextDisabled = true;
|
||||
trackEvent('wizard_finish');
|
||||
dispatch('finish');
|
||||
//Reactivate button in case there are errors
|
||||
setTimeout(() => {
|
||||
$wizard.nextDisabled = false;
|
||||
}, 2000);
|
||||
} else {
|
||||
trackEvent('wizard_next');
|
||||
$wizard.step++;
|
||||
|
||||
Reference in New Issue
Block a user