Disable Last.FM features based on LastFM.Enabled config option

This commit is contained in:
Deluan
2021-07-02 09:50:07 -04:00
parent 289da56f64
commit cfb113bd33
9 changed files with 9 additions and 20 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ const PlayerEdit = (props) => (
]}
/>
<BooleanInput source="reportRealPath" fullWidth />
{config.devEnableScrobble && (
{config.lastFMEnabled && (
<BooleanInput source="scrobbleEnabled" fullWidth />
)}
<TextField source="client" />