Featured tab: Check if collections are enabled for loading status (#38688)
This commit is contained in:
parent
e9af9c649f
commit
d9ea631d59
@ -88,7 +88,8 @@ const AccountFeatured: React.FC<{ multiColumn: boolean }> = ({
|
|||||||
|
|
||||||
const hasFeaturedAccounts = !featuredAccountIds.isEmpty();
|
const hasFeaturedAccounts = !featuredAccountIds.isEmpty();
|
||||||
|
|
||||||
const isLoading = !accountId || collectionsLoadStatus !== 'idle';
|
const isLoading =
|
||||||
|
!accountId || (collectionsEnabled && collectionsLoadStatus !== 'idle');
|
||||||
|
|
||||||
if (accountId === null) {
|
if (accountId === null) {
|
||||||
return <BundleColumnError multiColumn={multiColumn} errorType='routing' />;
|
return <BundleColumnError multiColumn={multiColumn} errorType='routing' />;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user