Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: format repo url for azure (#9090)
ecmadaod5088bb2b698
diff --git a/frontend/src/components/RepositoryPanel.vue b/frontend/src/components/RepositoryPanel.vueindex c12febb1ef..ffcdcea526 100644--- a/frontend/src/components/RepositoryPanel.vue+++ b/frontend/src/components/RepositoryPanel.vue@@ -15,9 +15,9 @@<template v-if="isProjectSchemaChangeTypeDDL"><i18n-t keypath="repository.gitops-description-file-path"><template #fullPath>- <a class="normal-link" :href="repository.webUrl" target="_blank">{{- repository.fullPath- }}</a>+ <a class="normal-link" :href="repository.webUrl" target="_blank">+ {{ repositoryFormattedFullPath }}+ </a></template><template #fullPathTemplate><span class="font-medium text-main"@@ -55,7 +55,7 @@<i18n-t keypath="repository.gitops-description-sdl"><template #fullPath><a class="normal-link" :href="repository.webUrl" target="_blank">- {{ repository.fullPath }}+ {{ repositoryFormattedFullPath }}</a></template><template #branch>@@ -208,9 +208,9 @@}}</template><template #repository>- <a class="normal-link" :href="repository.webUrl" target="_blank">{{- repository.fullPath- }}</a>+ <a class="normal-link" :href="repository.webUrl" target="_blank">+ {{ repositoryFormattedFullPath }}+ </a></template></i18n-t></div>@@ -243,9 +243,9 @@}}</template><template #repository>- <a class="normal-link" :href="repository.webUrl" target="_blank">{{- repository.fullPath- }}</a>+ <a class="normal-link" :href="repository.webUrl" target="_blank">+ {{ repositoryFormattedFullPath }}+ </a></template></i18n-t></div>@@ -362,6 +362,17 @@ watch(});+const repositoryFormattedFullPath = computed(() => {+ const fullPath = props.repository.fullPath;+ if (props.vcs.type !== ExternalVersionControl_Type.AZURE_DEVOPS) {+ return fullPath;+ }+ if (!fullPath.includes("@dev.azure.com")) {+ return fullPath;+ }+ return `https://dev.azure.com${fullPath.split("@dev.azure.com")[1]}`;+});+const repositoryInfo = computed((): ExternalRepositoryInfo => {return {externalId: props.repository.externalId,