ConusAI vendor v0.1.0-dev.20261013+85463d22

This commit is contained in:
ConusAI vendor v0.1.0-dev.20261013+85463d22
2026-10-13 20:45:57 +00:00
parent c3c6526952
commit 0da8a2a81b
67 changed files with 1510 additions and 10153 deletions
+4 -3
View File
@@ -3,14 +3,15 @@ import { serviceCatalogEntry } from '@/shared/api'
/**
* "Link <service> to enable": the text comes from the platform's service catalog
* (plan D13), so the card never carries copy of its own.
* (plan D13), so the card never carries copy of its own. When the platform read
* fails the card still renders, without the catalog details.
*/
export async function EnableCard({ service }: { service: ServiceType }) {
const entry = await serviceCatalogEntry(service)
return (
<aside>
<p>Link {entry.display_name} to enable this.</p>
<p>{entry.description}</p>
<p>Link {entry?.display_name ?? service} to enable this.</p>
{entry ? <p>{entry.description}</p> : null}
</aside>
)
}