mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-15 20:16:52 +00:00
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:
parent
887e30f3e2
commit
95205a01a0
@ -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 {
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user