Quellcode durchsuchen

check feature flag (#4443)

jusrhee vor 2 Jahren
Ursprung
Commit
8efddf627c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      dashboard/src/main/home/app-dashboard/create-app/CreateApp.tsx

+ 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");