Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/visual-editor/src/components/atoms/cta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ export const CTA = (props: CTAProps) => {
}}
>
{linkContent}
{openInNewTab && (
{openInNewTab && ctaType !== "presetImage" && (
<FaExternalLinkAlt
aria-hidden="true"
className="inline-block ml-1 w-3 h-3 align-middle relative -top-px"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export const ComprehensiveCTA = ({
id={actionType === "button" ? currentValue.data.customId : undefined}
label={effectiveLabel}
link={
actionType === "link" && resolvedCta
actionType === "link" && ctaType !== "getDirections" && resolvedCta
Comment thread
benlife5 marked this conversation as resolved.
? resolveComponentData(resolvedCta.link, locale, streamDocument)
: undefined
}
Expand Down
Loading