Skip to content

Commit

Permalink
fixing bug on redirecting route
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgermano committed Jul 3, 2023
1 parent 72e8c93 commit 9d76729
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 3 deletions.
150 changes: 148 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-client-router",
"version": "2.0.6",
"version": "2.0.7",
"author": "Arthur José Germano",
"license": "MIT",
"main": "src/index.js",
Expand Down
3 changes: 3 additions & 0 deletions src/core/routerFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,9 @@ export async function checkBEFList(routeObj, routeFrom) {
routeFrom
);
}
if (retCode.isToRedirect || !retCode.isToContinue) {
return retCode;
}
if (befExecList.then.length > 0) {
retCode = await executeBEFunctionList(
routeObj,
Expand Down

0 comments on commit 9d76729

Please # to comment.