Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit a73ef24

Browse files
authored
Change link URL and label, and display only for Pro (#61873)
1 parent ff1ea37 commit a73ef24

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

client/web/src/cody/management/CodyManagementPage.tsx

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -300,17 +300,19 @@ export const CodyManagementPage: React.FunctionComponent<CodyManagementPageProps
300300
Download the Cody extension in your editor to start using Cody.
301301
</Text>
302302
</div>
303-
<div>
304-
<Link
305-
to="https://sourcegraph.com/community"
306-
target="_blank"
307-
rel="noreferrer"
308-
className="text-muted text-sm"
309-
>
310-
<Icon svgPath={mdiHelpCircleOutline} className="mr-1" aria-hidden={true} />
311-
Have feedback? Join our community Discord to let us know!
312-
</Link>
313-
</div>
303+
{userIsOnProTier ? (
304+
<div>
305+
<Link
306+
to="https://help.sourcegraph.com/"
307+
target="_blank"
308+
rel="noreferrer"
309+
className="text-muted text-sm"
310+
>
311+
<Icon svgPath={mdiHelpCircleOutline} className="mr-1" aria-hidden={true} />
312+
Join our community, read our docs, or get product/billing support
313+
</Link>
314+
</div>
315+
) : null}
314316
</div>
315317
{editorGroups.map((group, index) => (
316318
<div

0 commit comments

Comments
 (0)