🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
fix(ui): replace NumberInput with TextInput for read-only fields in LibraryEdit
Deluana60bea70c90b
diff --git a/ui/src/library/LibraryEdit.jsx b/ui/src/library/LibraryEdit.jsxindex f00fbf7c6..3d981b076 100644--- a/ui/src/library/LibraryEdit.jsx+++ b/ui/src/library/LibraryEdit.jsx@@ -11,7 +11,6 @@ import {useMutation,useNotify,useRedirect,- NumberInput,Toolbar,} from 'react-admin'import { Typography, Box } from '@material-ui/core'@@ -128,7 +127,7 @@ const LibraryEdit = (props) => {<Box display="flex"><Box flex={1} mr="0.5em">- <NumberInput+ <TextInputInputProps={{ readOnly: true }}resource={'library'}source={'totalSongs'}@@ -138,7 +137,7 @@ const LibraryEdit = (props) => {/></Box><Box flex={1} ml="0.5em">- <NumberInput+ <TextInputInputProps={{ readOnly: true }}resource={'library'}source={'totalAlbums'}@@ -153,7 +152,7 @@ const LibraryEdit = (props) => {<Box display="flex"><Box flex={1} mr="0.5em">- <NumberInput+ <TextInputInputProps={{ readOnly: true }}resource={'library'}source={'totalArtists'}