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