ConusAI vendor 81941888f
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import type { ServiceType } from '@conusai-sdk/api'
|
||||
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.
|
||||
*/
|
||||
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>
|
||||
</aside>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user