Skip to content

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

fix: invalid custom description (#9777)

ecmadao8d61d2f612ff
diff --git a/frontend/src/components/SQLReview/components/SQLRuleTable.vue b/frontend/src/components/SQLReview/components/SQLRuleTable.vue
index e0aab8ba50..912f6828b5 100644
--- a/frontend/src/components/SQLReview/components/SQLRuleTable.vue
+++ b/frontend/src/components/SQLReview/components/SQLRuleTable.vue
@@ -80,11 +80,11 @@
</button>
</div>
<div
- v-if="getRuleLocalization(rule.type).description"
+ v-if="rule.comment || getRuleLocalization(rule.type).description"
class="bb-grid-cell col-span-full pl-24 border-t-0"
>
<p class="w-full text-left pl-2 text-gray-500 -mt-2 mb-1">
- {{ getRuleLocalization(rule.type).description }}
+ {{ rule.comment || getRuleLocalization(rule.type).description }}
</p>
</div>
</template>