Skip to content

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

fix(frontend): use proper i18n binding for BBAttention props (#18368)

boojacka7b4a259c764
diff --git a/frontend/src/views/SettingWorkspaceSQLReviewDetail.vue b/frontend/src/views/SettingWorkspaceSQLReviewDetail.vue
index 6e7693cf46..b1898096b9 100644
--- a/frontend/src/views/SettingWorkspaceSQLReviewDetail.vue
+++ b/frontend/src/views/SettingWorkspaceSQLReviewDetail.vue
@@ -52,9 +52,9 @@
<BBAttention
v-if="reviewPolicy.resources.length === 0"
type="warning"
- title="sql-review.attach-resource.no-linked-resources"
- description="sql-review.attach-resource.label"
- action-text="sql-review.attach-resource.self"
+ :title="$t('sql-review.attach-resource.no-linked-resources')"
+ :description="$t('sql-review.attach-resource.label')"
+ :action-text="$t('sql-review.attach-resource.self')"
@click="state.showResourcePanel = true"
/>
<div class="flex flex-col gap-y-2 gap-x-2">