fix(whatsapp_agent): clarify privacy and align current channel setup
This commit is contained in:
1 parent
5a0f2c2dc3
commit
86f16ff493
22 files changed
+76
-20
No files matched your search
@@ -50,6 +50,7 @@ export function channelSetup(
|
||||
});
|
||||
const presentation: ChannelSetupPresentation = {
|
||||
...definition,
|
||||
privacyNotice: setupMessages?.privacyNotice,
|
||||
primaryActionLabel: setupMessages?.primaryAction,
|
||||
docsLabel: setupMessages?.docsLabel,
|
||||
officialLabel: setupMessages?.officialLabel,
|
||||
|
||||
@@ -136,6 +136,11 @@ export function ChannelSetupSurfaceView({
|
||||
</div>
|
||||
</div>
|
||||
<ChannelRuntimeError message={feature.runtime_error} />
|
||||
{setup.privacyNotice ? (
|
||||
<p className="text-pretty text-sm leading-relaxed text-muted-foreground">
|
||||
{setup.privacyNotice}
|
||||
</p>
|
||||
) : null}
|
||||
<div className="flex flex-wrap items-center gap-4">
|
||||
<section className={cn("min-w-0", inlineActions ? "flex-[1_1_20rem]" : "w-full")}>
|
||||
<div className="flex flex-wrap items-center justify-between gap-2">
|
||||
|
||||
Reference in new issue
Block a user