Skip to content

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

chore: allow editing while a rule is disabled (#5070)

Liu Ji599fec31ff10
diff --git a/frontend/src/components/SQLReview/components/SQLRuleTable.vue b/frontend/src/components/SQLReview/components/SQLRuleTable.vue
index 5f82bed412..86fc86d320 100644
--- a/frontend/src/components/SQLReview/components/SQLRuleTable.vue
+++ b/frontend/src/components/SQLReview/components/SQLRuleTable.vue
@@ -73,9 +73,7 @@
<div class="bb-grid-cell justify-center">
<button
class="btn-normal !px-3 !py-1"
- :disabled="
- !isRuleAvailable(rule) || rule.level === RuleLevel.DISABLED
- "
+ :disabled="!isRuleAvailable(rule)"
@click="setActiveRule(rule)"
>
{{ editable ? $t("common.edit") : $t("common.view") }}