summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorctaoist <[email protected]>2023-01-18 14:38:12 +0800
committerLarvan2 <[email protected]>2023-06-01 14:02:55 +0800
commit83059336944e97cfc18c5b94ec2fc4f750ab2ab9 (patch)
tree3c6aec3695b64a7512b142c97341a11b5e4d56ba /src/components
parent37bfd0681a8cbd9e399502f13878ed196f6a7077 (diff)
增加在配置页面显示当前所用的后端 (#731)
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Config.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/Config.tsx b/src/components/Config.tsx
index 940f911..2af83fb 100644
--- a/src/components/Config.tsx
+++ b/src/components/Config.tsx
@@ -432,10 +432,13 @@ function ConfigImpl({
</div>
<div>
+ <div className={s0.label}>{t('current_backend')}
+ <p>{apiConfig.baseURL}</p>
+ </div>
<div className={s0.label}>Action</div>
<Button
start={<LogOut size={16} />}
- label="Switch backend"
+ label={t("switch_backend")}
onClick={openAPIConfigModal}
/>
</div>