Replacing gitlab integration host with stripped url already present

Signed-off-by: Josh Maxwell <jmaxwell@qualtrics.com>
This commit is contained in:
Josh Maxwell
2022-10-24 21:42:34 -06:00
committed by Fredrik Adelöw
parent c8dd2a8c87
commit d331fe795e
@@ -58,7 +58,7 @@ export const IssueCard = (props: IssueCardProps) => {
<CardActionArea href={url} target="_blank">
<Box padding={1}>
<Box display="flex" justifyContent="space-between">
<Link to={`https://github.com/${repositoryName}/issues`}>
<Link to={`${url.substring(0, url.lastIndexOf('/'))}`}>
{repositoryName}
</Link>
<Assignees name={assigneeName} avatar={assigneeAvatar} />