Fix playlist form

- Invalid initial state and definition for public playlist
This commit is contained in:
jeffvli 2023-05-30 19:34:07 -07:00
parent 6d092d9ebc
commit 9c1a2a4a8d
4 changed files with 16 additions and 58 deletions

View file

@ -97,7 +97,7 @@ export const CreatePlaylistForm = ({ onCancel }: CreatePlaylistFormProps) => {
{isPublicDisplayed && (
<Switch
label="Is public?"
{...form.getInputProps('ndParams.public')}
{...form.getInputProps('_custom.navidrome.public', { type: 'checkbox' })}
/>
)}
{server?.type === ServerType.NAVIDROME && (