included spotify owned in mutable keys added to UI

This commit is contained in:
andy 2021-07-10 16:08:58 +01:00
parent 365cafe004
commit 90d1ce04d9
2 changed files with 10 additions and 0 deletions

View File

@ -78,6 +78,8 @@ class Playlist(Model):
'add_this_month', 'add_this_month',
'day_boundary', 'day_boundary',
'include_spotify_owned',
'chart_range', 'chart_range',
'chart_limit' 'chart_limit'
] ]

View File

@ -488,6 +488,14 @@ export class Edit extends Component{
} }
labelPlacement="bottom" labelPlacement="bottom"
label="Library Tracks"/> label="Library Tracks"/>
{/* SPOTIFY OWNED */}
<FormControlLabel
control={
<Switch color="secondary" checked={this.state.include_spotify_owned} name="include_spotify_owned" onChange={this.handleCheckChange} />
}
labelPlacement="bottom"
label="Spotify Owned"/>
</Grid> </Grid>
{/* NUMBER OF RECOMMENDATIONS */} {/* NUMBER OF RECOMMENDATIONS */}