feat: Add new payment completion and failure routes, update donation handling in DonationForm and related components
This commit is contained in:
@@ -21,12 +21,8 @@ const route = useRoute();
|
||||
const { t } = useI18n();
|
||||
|
||||
function goBack() {
|
||||
const returnUrl = route.query.returnUrl;
|
||||
if (returnUrl) {
|
||||
router.push(returnUrl);
|
||||
} else {
|
||||
router.back();
|
||||
}
|
||||
const creatorName = route.params.creator?.split('/')[0] || '';
|
||||
router.push(`/@${creatorName}`);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user