Skip to content

Commit

Permalink
Fix vue-router redirection after scanning NIM request link QR
Browse files Browse the repository at this point in the history
  • Loading branch information
sisou committed Nov 3, 2023
1 parent 54746e7 commit 2686f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/modals/ScanQrModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default defineComponent({
}
// Redirect to request link as path which will be handled by the router. If a GoCrypto id is set, don't
// replace the route, such that user can navigate back to the scanner from SendModal on GoCrypto errors.
(goCryptoId ? router.push : router.replace)(`/${nimRequestLinkUri}`);
(goCryptoId ? router.push : router.replace).bind(router)(`/${nimRequestLinkUri}`);
return;
}
Expand Down

0 comments on commit 2686f77

Please sign in to comment.