fix(ui): conditionally render sync toggle based on screen size
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -181,7 +181,9 @@ const PlaylistList = (props) => {
|
||||
<TogglePublicInput source="public" sortByOrder={'DESC'} />
|
||||
),
|
||||
comment: <TextField source="comment" />,
|
||||
sync: <ToggleAutoImport source="sync" sortByOrder={'DESC'} />,
|
||||
sync: !isXsmall && (
|
||||
<ToggleAutoImport source="sync" sortByOrder={'DESC'} />
|
||||
),
|
||||
}),
|
||||
[isDesktop, isXsmall],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user