Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: missing install integration button (#46368)

Raminder Singh2f24238fd90f
diff --git a/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/OverviewTab.tsx b/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/OverviewTab.tsx
index 8641d799f47..24b5fc343da 100644
--- a/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/OverviewTab.tsx
+++ b/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/OverviewTab.tsx
@@ -51,7 +51,7 @@ const installFormSchema = z.object({
stripeSecretKey: z.string().min(1, 'Stripe API key is required'),
})
-const StripeSyncContent = () => {
+const StripeSyncContent = ({ hideInstallCTA = false }: { hideInstallCTA?: boolean }) => {
const track = useTrack()
const hasTrackedInstallFailed = useRef(false)
const { data: project } = useSelectedProjectQuery()
@@ -219,7 +219,7 @@ const StripeSyncContent = () => {
isUpgrade={upgradeAvailable}
/>
<IntegrationNotInstalledActions
- hideInstallCTA
+ hideInstallCTA={hideInstallCTA}
installing={installing}
canInstall={canInstall}
isUninstallRequested={isUninstallRequested}
@@ -398,7 +398,7 @@ export const StripeSyncEngineOverviewTab = () => {
return (
<>
<RequiredExtensionsSection />
- <StripeSyncContent />
+ <StripeSyncContent hideInstallCTA />
</>
)
}