Ver Fonte

check feature flag (#4443)

jusrhee há 2 anos atrás
pai
commit
8efddf627c

+ 1 - 1
dashboard/src/main/home/app-dashboard/create-app/CreateApp.tsx

@@ -760,7 +760,7 @@ const CreateApp: React.FC<CreateAppProps> = ({ history }) => {
           }}
         />
       )}
-      {!hasPaymentEnabled && (
+      {currentProject?.billing_enabled && !hasPaymentEnabled && (
         <BillingModal
           back={() => {
             history.push("/apps");