mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
fix release channel input value
This commit is contained in:
@@ -49,9 +49,7 @@ export const UpdateSettings = memo(() => {
|
|||||||
value: 'alpha',
|
value: 'alpha',
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
defaultValue={
|
defaultValue={settings.releaseChannel || 'latest'}
|
||||||
(localSettings?.get('release_channel') as string | undefined) || 'latest'
|
|
||||||
}
|
|
||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
if (!value) return;
|
if (!value) return;
|
||||||
localSettings?.set('release_channel', value);
|
localSettings?.set('release_channel', value);
|
||||||
|
|||||||
Reference in New Issue
Block a user