🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
feat(ui): conditionally display 'path' field in LibraryList for desktop view
Deluan4e34d3ac1fa6
diff --git a/ui/src/library/LibraryList.jsx b/ui/src/library/LibraryList.jsxindex aa1294882..35d627cbb 100644--- a/ui/src/library/LibraryList.jsx+++ b/ui/src/library/LibraryList.jsx@@ -21,6 +21,7 @@ const LibraryFilter = (props) => (const LibraryList = (props) => {const isXsmall = useMediaQuery((theme) => theme.breakpoints.down('xs'))+ const isDesktop = useMediaQuery((theme) => theme.breakpoints.up('lg'))useResourceRefresh('library')return (@@ -40,7 +41,7 @@ const LibraryList = (props) => {) : (<Datagrid rowClick="edit"><TextField source="name" />- <TextField source="path" />+ {isDesktop && <TextField source="path" />}<BooleanField source="defaultNewUsers" /><NumberField source="totalSongs" /><NumberField source="totalAlbums" />