From: Grégoire Aubert Date: Wed, 19 Dec 2018 14:06:22 +0000 (+0100) Subject: SONARCLOUD-333 Fix confirmation modal after billing upgrade X-Git-Tag: 7.6~219 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b1b228b944b4bed8fd03867c8136ecf951ad666c;p=sonarqube.git SONARCLOUD-333 Fix confirmation modal after billing upgrade --- diff --git a/server/sonar-web/src/main/js/apps/create/components/BillingFormShim.tsx b/server/sonar-web/src/main/js/apps/create/components/BillingFormShim.tsx index c0efc0882ff..9455626bdbd 100644 --- a/server/sonar-web/src/main/js/apps/create/components/BillingFormShim.tsx +++ b/server/sonar-web/src/main/js/apps/create/components/BillingFormShim.tsx @@ -33,7 +33,7 @@ interface Props { children: (props: ChildrenProps) => React.ReactNode; initialCountry?: string; currentUser: T.CurrentUser; - onCommit: () => void; + onCommit: () => void | Promise; onFailToUpgrade?: () => void; organizationKey: string | (() => Promise); subscriptionPlans: T.SubscriptionPlan[];