mirror of
https://github.com/woodchen-ink/clash-and-dashboard.git
synced 2025-07-18 05:51:56 +08:00
Fix: mode
display
This commit is contained in:
parent
9f95b2d83a
commit
75ddb6cca4
@ -1,4 +1,5 @@
|
||||
import React, { useEffect } from 'react'
|
||||
import capitalize from 'lodash/capitalize'
|
||||
import { Header, Card, Row, Col, Switch, ButtonSelect, ButtonSelectOptions, Input, Icon } from '@components'
|
||||
import { useI18n, useClashXData, useAPIInfo, useGeneral, useIdentity } from '@stores'
|
||||
import { updateConfig } from '@lib/request'
|
||||
@ -143,7 +144,7 @@ export default function Settings () {
|
||||
<Col span={14} className="value-column">
|
||||
<ButtonSelect
|
||||
options={proxyModeOptions}
|
||||
value={mode}
|
||||
value={capitalize(mode)}
|
||||
onSelect={handleProxyModeChange}
|
||||
/>
|
||||
</Col>
|
||||
|
Loading…
x
Reference in New Issue
Block a user