fix: remove duplicate detail text from integration card titles

This commit is contained in:
Usman Baig
2026-03-25 22:58:44 +01:00
parent 8fb2f603bd
commit 98ba751c2c

View File

@@ -317,7 +317,7 @@ export default function SiteIntegrationsTab({ siteId }: { siteId: string }) {
name="Google Search Console" name="Google Search Console"
description="View search queries, clicks, impressions, and ranking data." description="View search queries, clicks, impressions, and ranking data."
connected={gscStatus?.connected ?? false} connected={gscStatus?.connected ?? false}
detail={gscStatus?.connected ? `Connected as ${gscStatus.google_email || 'unknown'}` : undefined} detail={undefined}
onConnect={handleConnectGSC} onConnect={handleConnectGSC}
onDisconnect={handleDisconnectGSC} onDisconnect={handleDisconnectGSC}
connectLabel="Connect with Google" connectLabel="Connect with Google"
@@ -331,7 +331,7 @@ export default function SiteIntegrationsTab({ siteId }: { siteId: string }) {
name="BunnyCDN" name="BunnyCDN"
description="Monitor bandwidth, cache hit rates, and CDN performance." description="Monitor bandwidth, cache hit rates, and CDN performance."
connected={bunnyConnected} connected={bunnyConnected}
detail={bunnyConnected ? `Pull zone: ${bunnyStatus?.pull_zone_name || 'connected'}` : undefined} detail={undefined}
onConnect={handleConnectBunny} onConnect={handleConnectBunny}
onDisconnect={handleDisconnectBunny} onDisconnect={handleDisconnectBunny}
> >