Fixed missing space after account name when disconnecting Stripe
no issue - line wrap immediately after the variable meant whitespace was being ignored
This commit is contained in:
parent
00d2cc9f44
commit
4465e09f2f
@ -162,8 +162,7 @@ const Connected: React.FC<{onClose?: () => void}> = ({onClose}) => {
|
|||||||
// this.ghostPaths.url.api('/members/') + '?filter=status:paid&limit=0';
|
// this.ghostPaths.url.api('/members/') + '?filter=status:paid&limit=0';
|
||||||
NiceModal.show(ConfirmationModal, {
|
NiceModal.show(ConfirmationModal, {
|
||||||
title: 'Disconnect Stripe',
|
title: 'Disconnect Stripe',
|
||||||
prompt: (hasActiveStripeSubscriptions ? 'Cannot disconnect while there are members with active Stripe subscriptions.' : <>You‘re about to disconnect your Stripe account {stripeConnectAccountName}
|
prompt: (hasActiveStripeSubscriptions ? 'Cannot disconnect while there are members with active Stripe subscriptions.' : <>You‘re about to disconnect your Stripe account {stripeConnectAccountName} from this site. This will automatically turn off paid memberships on this site.</>),
|
||||||
from this site. This will automatically turn off paid memberships on this site.</>),
|
|
||||||
okLabel: hasActiveStripeSubscriptions ? '' : 'Disconnect',
|
okLabel: hasActiveStripeSubscriptions ? '' : 'Disconnect',
|
||||||
onOk: async (modal) => {
|
onOk: async (modal) => {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user