From e3ae9a2d6736f238c6aaaec37a5bf38d64afafe8 Mon Sep 17 00:00:00 2001 From: Kalista Payne Date: Thu, 24 Oct 2024 13:57:27 -0500 Subject: [PATCH] fix(subs): also redirect to subs after gift sub --- website/client/src/router/handleRedirect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/client/src/router/handleRedirect.js b/website/client/src/router/handleRedirect.js index 2fb2c08425..e580298766 100644 --- a/website/client/src/router/handleRedirect.js +++ b/website/client/src/router/handleRedirect.js @@ -29,7 +29,7 @@ export default function handleRedirect (to, from, next) { }); } - if (newAppState.paymentType === 'subscription') { + if (newAppState.paymentType.contains('subscription')) { return next({ name: 'subscription' }); }