Progress loading check for null, not 0
This commit is contained in:
@ -159,7 +159,7 @@ class LibraryPlaylists extends React.Component {
|
||||
limit,
|
||||
} = this.state;
|
||||
|
||||
if (loading_progress < 1) {
|
||||
if (loading_progress !== null) {
|
||||
return <Loader body loading progress={loading_progress} />;
|
||||
}
|
||||
let playlists = [...playlistsProp];
|
||||
@ -225,7 +225,7 @@ class LibraryPlaylists extends React.Component {
|
||||
const {
|
||||
filter,
|
||||
} = this.state;
|
||||
const loading = loading_progress < 1;
|
||||
const loading = loading_progress !== null;
|
||||
|
||||
const source_options = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user