0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Fixed loading indicator for upgrade plans

This commit is contained in:
Rishabh 2022-03-29 12:12:03 +05:30
parent c339761a35
commit 0251989c0a

View file

@ -604,7 +604,7 @@ function ProductCard({product, products, selectedInterval, handleChooseSignup})
const {action} = useContext(AppContext);
const cardClass = selectedProduct === product.id ? 'gh-portal-product-card checked' : 'gh-portal-product-card';
let disabled = (action === 'signup:running') ? true : false;
let disabled = (['signup:running', 'checkoutPlan:running'].includes(action)) ? true : false;
if (isCookiesDisabled()) {
disabled = true;