[bugfix]: don't be loading if top songs disabled

This commit is contained in:
Kendall Garner 2024-09-02 19:26:47 -07:00
parent 903d1479a4
commit 9d44f0fc08
No known key found for this signature in database
GPG key ID: 18D2767419676C87

View file

@ -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} />;