mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-23 23:20:57 +03:00
Fix ReactAdmin console warnings
This commit is contained in:
parent
096ed396c8
commit
b8f7715a74
ui/src
@ -22,10 +22,10 @@ const Personal = () => {
|
||||
return (
|
||||
<Card className={classes.root}>
|
||||
<Title title={'Navidrome - ' + translate('menu.personal')} />
|
||||
<SimpleForm toolbar={false}>
|
||||
<SimpleForm toolbar={null}>
|
||||
<SelectInput
|
||||
source="theme"
|
||||
initialValue={currentTheme}
|
||||
defaultValue={currentTheme}
|
||||
choices={themeChoices}
|
||||
onChange={(event) => {
|
||||
dispatch(changeTheme(event.target.value))
|
||||
|
@ -32,7 +32,7 @@ const TranscodingCreate = (props) => (
|
||||
{ id: 256, name: '256' },
|
||||
{ id: 320, name: '320' }
|
||||
]}
|
||||
initialValue={192}
|
||||
defaultValue={192}
|
||||
/>
|
||||
<TextInput
|
||||
source="command"
|
||||
|
@ -17,7 +17,7 @@ const UserCreate = (props) => (
|
||||
<TextInput source="name" validate={[required()]} />
|
||||
<TextInput source="email" validate={[required(), email()]} />
|
||||
<PasswordInput source="password" validate={[required()]} />
|
||||
<BooleanInput source="isAdmin" initialValue={false} />
|
||||
<BooleanInput source="isAdmin" defaultValue={false} />
|
||||
</SimpleForm>
|
||||
</Create>
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user