feat(ui): Update ExternalUrlButton to include self-hosted gitlab URLs (#12734)

Co-authored-by: Andrew Sikowitz <andrew.sikowitz@acryl.io>
This commit is contained in:
k7ragav 2025-03-12 23:13:52 +01:00 committed by GitHub
parent 887e30f3e2
commit 95205a01a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import UrlButton from './UrlButton';
const GITHUB_LINK = 'github.com';
const GITHUB = 'GitHub';
const GITLAB_LINK = 'gitlab.com';
const GITLAB_LINK = 'gitlab.';
const GITLAB = 'GitLab';
interface Props {

View File

@ -103,7 +103,7 @@ export function getExternalUrlDisplayName(entity: GenericEntityProperties | null
// Scoping these constants
const GITHUB_LINK = 'github.com';
const GITHUB_NAME = 'GitHub';
const GITLAB_LINK = 'gitlab.com';
const GITLAB_LINK = 'gitlab.';
const GITLAB_NAME = 'GitLab';
const externalUrl = entity?.properties?.externalUrl;