增加在配置页面显示当前所用的后端 (#731)
This commit is contained in:
parent
d7e975484f
commit
63f2af9d8f
3 changed files with 8 additions and 1 deletions
|
@ -266,10 +266,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>
|
||||
|
|
|
@ -25,7 +25,9 @@ export const data = {
|
|||
order_name_asc: 'By name alphabetically (A-Z)',
|
||||
order_name_desc: 'By name alphabetically (Z-A)',
|
||||
Connections: 'Connections',
|
||||
current_backend: 'Current Backend',
|
||||
Active: 'Active',
|
||||
switch_backend: 'Switch backend"',
|
||||
Closed: 'Closed',
|
||||
switch_theme: 'Switch theme',
|
||||
theme: 'theme',
|
||||
|
|
|
@ -25,7 +25,9 @@ export const data = {
|
|||
order_name_asc: '按名称字母排序 (A-Z)',
|
||||
order_name_desc: '按名称字母排序 (Z-A)',
|
||||
Connections: '连接',
|
||||
current_backend: '当前后端',
|
||||
Active: '活动',
|
||||
switch_backend: '切换后端',
|
||||
Closed: '已断开',
|
||||
switch_theme: '切换主题',
|
||||
theme: '主题',
|
||||
|
|
Loading…
Reference in a new issue