Skip to content

Commit

Permalink
change to "open a ticket"
Browse files Browse the repository at this point in the history
  • Loading branch information
raquelmsmith committed Mar 27, 2024
1 parent a22c8a6 commit 5d640ce
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,15 +244,17 @@ export const SidePanelSupport = (): JSX.Element => {
</ul>
</Section>

{hasAvailableFeature(AvailableFeature.EMAIL_SUPPORT) ? (
{!hasAvailableFeature(AvailableFeature.EMAIL_SUPPORT) ? (
<Section title="More options">
{isEmailFormOpen ? (
<SupportFormBlock onCancel={() => closeEmailForm()} />
) : (
<p>
Can't find what you need in the docs?{' '}
<Link onClick={() => openEmailForm()}>Email an engineer</Link>
</p>
<>
<p>Can't find what you need in the docs? </p>
<LemonButton onClick={() => openEmailForm()} type="secondary">
Open a ticket
</LemonButton>
</>
)}
</Section>
) : (
Expand Down

0 comments on commit 5d640ce

Please sign in to comment.