🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
fix(ui): conditionally render sync toggle based on screen size
Deluand2db41691e20
diff --git a/ui/src/playlist/PlaylistList.jsx b/ui/src/playlist/PlaylistList.jsxindex 4ec2d5ca1..67c456f27 100644--- a/ui/src/playlist/PlaylistList.jsx+++ b/ui/src/playlist/PlaylistList.jsx@@ -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],)