Skip to content

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

chore: navigate external-url banner to the general setting (#5423)

Tianzhou (天舟)857f238ee706
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 8ef7b6dcbf..70b377b8d5 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -489,7 +489,7 @@
},
"network": "网络",
"external-url": {
- "self": "外部链接",
+ "self": "External URL",
"description": "用户或回调能访问到的 Bytebase URL,必须以 http:// 或 https:// 开头。{viewDoc}"
},
"config-updated": "配置已更新",
diff --git a/frontend/src/views/BannerExternalUrl.vue b/frontend/src/views/BannerExternalUrl.vue
index b30a38c20f..3bcea1ba6d 100644
--- a/frontend/src/views/BannerExternalUrl.vue
+++ b/frontend/src/views/BannerExternalUrl.vue
@@ -12,14 +12,13 @@
<div
class="order-3 mt-2 flex-shrink-0 w-full sm:order-2 sm:mt-0 sm:w-auto"
>
- <a
- href="https://www.bytebase.com/docs/get-started/install/external-url?source=console"
- target="_blank"
+ <router-link
+ to="/setting/general"
class="flex items-center justify-center pl-4 pr-2 py-2 border border-transparent rounded-md shadow-sm text-base font-medium text-accent bg-white hover:bg-indigo-50"
>
{{ $t("banner.configure-now") }}
<heroicons-outline:wrench-screwdriver class="ml-1 w-5 h-5" />
- </a>
+ </router-link>
</div>
<div class="order-2 flex-shrink-0 sm:order-3 sm:ml-3">
<button
diff --git a/frontend/src/views/SettingWorkspaceGeneral.vue b/frontend/src/views/SettingWorkspaceGeneral.vue
index 5028f65ad0..c13e733436 100644
--- a/frontend/src/views/SettingWorkspaceGeneral.vue
+++ b/frontend/src/views/SettingWorkspaceGeneral.vue
@@ -1,8 +1,8 @@
<template>
<div class="space-y-4 divide-y divide-block-border">
+ <NetworkSetting v-if="!isSaaSMode" />
<BrandingSetting />
<SecuritySetting />
- <NetworkSetting v-if="!isSaaSMode" />
<AIAugmentationSetting />
</div>
</template>