[bugfix]: don't be loading if top songs disabled
This commit is contained in:
parent
903d1479a4
commit
9d44f0fc08
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ export const AlbumArtistDetailContent = ({ background }: AlbumArtistDetailConten
|
||||||
|
|
||||||
const isLoading =
|
const isLoading =
|
||||||
detailQuery?.isLoading ||
|
detailQuery?.isLoading ||
|
||||||
(server?.type === ServerType.NAVIDROME && topSongsQuery?.isLoading);
|
(server?.type === ServerType.NAVIDROME && enabledItem.topSongs && topSongsQuery?.isLoading);
|
||||||
|
|
||||||
if (isLoading) return <ContentContainer ref={cq.ref} />;
|
if (isLoading) return <ContentContainer ref={cq.ref} />;
|
||||||
|
|
||||||
|
|
Reference in a new issue