Buildout, clean up; Still to hose out deprecated actions and reducers

This commit is contained in:
James Barnsley
2020-09-30 21:03:38 +13:00
parent 867ac50159
commit 461ce84a04
15 changed files with 146 additions and 153 deletions

View File

@ -137,18 +137,18 @@ class LibraryPlaylists extends React.Component {
sort,
sort_reverse,
view,
source,
loading,
playlists: playlistsProp,
} = this.props;
const {
filter,
limit,
} = this.state;
let { playlists } = this.props;
if (loading) {
return <Loader body loading />;
}
let playlists = [...playlistsProp];
if (sort) {
playlists = sortItems(playlists, sort, sort_reverse);