From 654a7cdf2398c5f75ffaca7cd2fbc4843ce7aa6c Mon Sep 17 00:00:00 2001 From: bakhirev Date: Mon, 1 Jul 2024 18:27:30 +0300 Subject: [PATCH] update --- src/ts/components/ExternalLink/components/PR.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ts/components/ExternalLink/components/PR.tsx b/src/ts/components/ExternalLink/components/PR.tsx index 7c1ab90..3f66c94 100644 --- a/src/ts/components/ExternalLink/components/PR.tsx +++ b/src/ts/components/ExternalLink/components/PR.tsx @@ -13,11 +13,14 @@ function PRLink({ prId, text, className }: IPRLinkProps) { if (!prId) return null; const prefix = userSettings?.settings?.linksPrefix?.task || '/'; + const formattedTask = prId?.[0] === '#' + ? prId.replace('#', '') + : prId; return ( );