mirror of
https://github.com/navidrome/navidrome.git
synced 2025-05-17 18:46:55 +03:00
Add auto-import fields to the UI
This commit is contained in:
parent
8f512a40f7
commit
38c3013ddf
@ -97,7 +97,9 @@
|
||||
"public": "Pública",
|
||||
"updatedAt": "Últ. Atualização",
|
||||
"createdAt": "Data de Criação ",
|
||||
"songCount": "Músicas"
|
||||
"songCount": "Músicas",
|
||||
"sync": "Auto-importar",
|
||||
"path": "Importar de"
|
||||
},
|
||||
"actions": {
|
||||
"selectPlaylist": "Selecione a playlist:",
|
||||
|
@ -65,6 +65,8 @@
|
||||
"songCount": "Songs",
|
||||
"owner": "Owner",
|
||||
"public": "Public",
|
||||
"sync": "Auto-import",
|
||||
"path": "Import from",
|
||||
"updatedAt":"Updated at",
|
||||
"createdAt": "Created at"
|
||||
},
|
||||
|
@ -3,6 +3,7 @@ import {
|
||||
Edit,
|
||||
SimpleForm,
|
||||
TextInput,
|
||||
TextField,
|
||||
BooleanInput,
|
||||
required,
|
||||
} from 'react-admin'
|
||||
@ -11,8 +12,10 @@ const PlaylistEdit = (props) => (
|
||||
<Edit {...props}>
|
||||
<SimpleForm redirect="list">
|
||||
<TextInput source="name" validate={required()} />
|
||||
<TextInput source="comment" />
|
||||
<TextInput multiline source="comment" />
|
||||
<BooleanInput source="public" />
|
||||
<BooleanInput source="sync" />
|
||||
<TextField source="path" />
|
||||
</SimpleForm>
|
||||
</Edit>
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user