Skip to content

Commit

Permalink
Merge pull request #225 from Vafilor/fix/back.navigation
Browse files Browse the repository at this point in the history
fix: issue where back navigation didn't work correctly with query parameters
  • Loading branch information
rushtehrani committed Dec 19, 2020
2 parents 0c05669 + a48fdde commit bcfe55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/router/app-router.service.ts
Expand Up @@ -77,7 +77,7 @@ export class AppRouter {
return false;
}

this.location.back();
this.router.navigateByUrl(this.routerHistory[this.routerHistory.length - 1]);

return true;
}
Expand Down

0 comments on commit bcfe55d

Please sign in to comment.