Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: tweak changelog type display (#17125)
boojackeca2b533ba4d
diff --git a/frontend/src/components/Changelog/ChangelogDataTable.vue b/frontend/src/components/Changelog/ChangelogDataTable.vueindex 2a171676cf..896f3e0fc5 100644--- a/frontend/src/components/Changelog/ChangelogDataTable.vue+++ b/frontend/src/components/Changelog/ChangelogDataTable.vue@@ -79,20 +79,9 @@ const columnList = computed(() => {{key: "type",title: t("changelog.change-type"),- width: "8rem",+ width: 96,resizable: true,- render: (changelog) => {- return (- <div class="flex items-center gap-x-1 flex-wrap leading-5">- <span>{getChangelogChangeType(changelog.type)}</span>- {changelog.type === Changelog_Type.BASELINE && (- <span class="text-gray-400 text-nowrap">- ({t("common.baseline")})- </span>- )}- </div>- );- },+ render: (changelog) => getChangelogChangeType(changelog.type),},{key: "issue",diff --git a/frontend/src/utils/v1/changelog.ts b/frontend/src/utils/v1/changelog.tsindex 396912d393..d8c3ab41fa 100644--- a/frontend/src/utils/v1/changelog.ts+++ b/frontend/src/utils/v1/changelog.ts@@ -117,6 +117,8 @@ export const getChangelogChangeType = (type: Changelog_Type) => {return "DDL";case Changelog_Type.DATA:return "DML";+ case Changelog_Type.BASELINE:+ return t("common.baseline");default:return "-";}