Skip to content

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

chore: misc fix (#13913)

Tianzhou (天舟)19fa172bf4ca
diff --git a/frontend/src/components/AnomalyCenter/AnomalyCenterDashboard.vue b/frontend/src/components/AnomalyCenter/AnomalyCenterDashboard.vue
index ff93b1ba64..fd8035f1b2 100644
--- a/frontend/src/components/AnomalyCenter/AnomalyCenterDashboard.vue
+++ b/frontend/src/components/AnomalyCenter/AnomalyCenterDashboard.vue
@@ -9,7 +9,7 @@
<div class="textinfolabel">
{{ $t("anomaly.attention-desc") }}
<a
- href="https://www.bytebase.com/docs/administration/anomaly-center/"
+ href="https://www.bytebase.com/docs/change-database/drift-detection?source=console"
target="_blank"
class="normal-link inline-flex flex-row items-center"
>
diff --git a/frontend/src/components/Database/DatabaseOverviewPanel.vue b/frontend/src/components/Database/DatabaseOverviewPanel.vue
index e6ac923997..c0445a36b3 100644
--- a/frontend/src/components/Database/DatabaseOverviewPanel.vue
+++ b/frontend/src/components/Database/DatabaseOverviewPanel.vue
@@ -4,11 +4,15 @@
<div class="text-lg leading-6 font-medium text-main mb-4 flex flex-row">
{{ $t("common.anomalies") }}
<span class="ml-2 textinfolabel items-center flex">
- {{
- $t(
- "database.the-list-might-be-out-of-date-and-is-refreshed-roughly-every-10-minutes"
- )
- }}
+ {{ $t("anomaly.attention-desc") }}
+ <a
+ href="https://www.bytebase.com/docs/change-database/drift-detection?source=console"
+ target="_blank"
+ class="ml-1 normal-link inline-flex flex-row items-center"
+ >
+ {{ $t("common.learn-more") }}
+ <heroicons-outline:external-link class="w-4 h-4" />
+ </a>
</span>
</div>
<AnomalyTable :anomaly-section-list="anomalySectionList" />
diff --git a/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue b/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue
index 83ec7cfef8..2cd54accf0 100644
--- a/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue
+++ b/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue
@@ -6,7 +6,11 @@
@update:show="(show: boolean) => !show && $emit('close')"
>
<DrawerContent
- :title="$t('custom-approval.risk-rule.risk.namespace.request_query')"
+ :title="
+ props.role === PresetRoleType.PROJECT_QUERIER
+ ? $t('custom-approval.risk-rule.risk.namespace.request_query')
+ : $t('custom-approval.risk-rule.risk.namespace.request_export')
+ "
:closable="true"
class="w-[50rem] max-w-[100vw] relative"
>
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 7a763a68b3..1a548c63f3 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -1756,7 +1756,6 @@
"database": {
"sync-database": "Sync database",
"select": "Select database",
- "the-list-might-be-out-of-date-and-is-refreshed-roughly-every-10-minutes": "The list might be out of date and is refreshed roughly every 10 minutes",
"no-anomalies-detected": "No anomalies detected",
"sync-status": "Sync status",
"last-successful-sync": "Last successful sync",
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index 7d15182a2f..f940aaa674 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -1756,7 +1756,6 @@
"database": {
"sync-database": "Sincronizar base de datos",
"select": "Seleccionar base de datos",
- "the-list-might-be-out-of-date-and-is-refreshed-roughly-every-10-minutes": "La lista podría estar desactualizada y se actualiza aproximadamente cada 10 minutos",
"no-anomalies-detected": "No se detectaron anomalías",
"sync-status": "Estado de sincronización",
"last-successful-sync": "Última sincronización exitosa",
@@ -3769,4 +3768,4 @@
"setup": {
"self": "Configuración"
}
-}
\ No newline at end of file
+}
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index 8d4ca8e976..cb4e6f365f 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -1756,7 +1756,6 @@
"database": {
"sync-database": "データベースを同期",
"select": "データベースの選択",
- "the-list-might-be-out-of-date-and-is-refreshed-roughly-every-10-minutes": "表は約10分ごとに更新されるため、表示される情報は最新ではない場合があります。",
"no-anomalies-detected": "例外は検出されませんでした",
"sync-status": "同期ステータス",
"last-successful-sync": "最後に成功した同期",
@@ -3769,4 +3768,4 @@
"setup": {
"self": "設定"
}
-}
\ No newline at end of file
+}
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 54c72edcab..1d1c2a3640 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -1756,7 +1756,6 @@
"database": {
"sync-database": "同步数据库",
"select": "选择数据库",
- "the-list-might-be-out-of-date-and-is-refreshed-roughly-every-10-minutes": "该表每隔约10分钟刷新一次,所以展示的可能不是最新信息。",
"no-anomalies-detected": "没有检测到异常",
"sync-status": "同步状态",
"last-successful-sync": "最后一次成功的同步",
@@ -3769,4 +3768,4 @@
"setup": {
"self": "设置"
}
-}
\ No newline at end of file
+}