Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: check result item title consistency (#17406)

boojack2b15d28ad44c
diff --git a/frontend/src/components/Plan/components/common/CheckResultItem.vue b/frontend/src/components/Plan/components/common/CheckResultItem.vue
index f7c6fcd736..6fb3407025 100644
--- a/frontend/src/components/Plan/components/common/CheckResultItem.vue
+++ b/frontend/src/components/Plan/components/common/CheckResultItem.vue
@@ -105,8 +105,6 @@ const displayTitle = computed(() => {
// Only apply SQL review localization if this is a SQL review report
if (props.reportType === "sqlReviewReport") {
- // Convert dots to hyphens in the rule key to match the expected format
- const normalizedKey = title.replace(/\./g, "-");
// Try to get rule template and localization
const rule = getRuleTemplateByType(props.title);
if (rule) {
@@ -114,12 +112,6 @@ const displayTitle = computed(() => {
if (ruleLocalization.title) {
title = ruleLocalization.title;
}
- } else {
- // Fallback to direct localization lookup
- const localization = getRuleLocalization(normalizedKey);
- if (localization.title) {
- title = localization.title;
- }
}
}