mirror of
https://github.com/navidrome/navidrome.git
synced 2026-05-03 06:51:16 +00:00
fix(ui): conditionally render sync toggle based on screen size
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
1ce561cc8e
commit
d2db41691e
@ -181,7 +181,9 @@ const PlaylistList = (props) => {
|
|||||||
<TogglePublicInput source="public" sortByOrder={'DESC'} />
|
<TogglePublicInput source="public" sortByOrder={'DESC'} />
|
||||||
),
|
),
|
||||||
comment: <TextField source="comment" />,
|
comment: <TextField source="comment" />,
|
||||||
sync: <ToggleAutoImport source="sync" sortByOrder={'DESC'} />,
|
sync: !isXsmall && (
|
||||||
|
<ToggleAutoImport source="sync" sortByOrder={'DESC'} />
|
||||||
|
),
|
||||||
}),
|
}),
|
||||||
[isDesktop, isXsmall],
|
[isDesktop, isXsmall],
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user