Skip to content

Commit

Permalink
Merge pull request #1619 from appwrite/fix-wizard-interceptor
Browse files Browse the repository at this point in the history
Fix: interceptor interfering on wrong steps
  • Loading branch information
ItzNotABug authored Jan 27, 2025
2 parents 2125ba9 + 39d82f7 commit 1ddd635
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/layout/wizard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
const step = e.detail;
if (step < $wizard.step) {
$wizard.step = step;
// clear the interceptor
wizard.setInterceptor(null);
}
}
Expand Down

0 comments on commit 1ddd635

Please sign in to comment.