diff --git a/website/client/src/router/handleRedirect.js b/website/client/src/router/handleRedirect.js index e580298766..dbdd9f5b5e 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.contains('subscription')) { + if (newAppState.paymentType === 'subscription' || newAppState.paymentType === 'gift-subscription') { return next({ name: 'subscription' }); }