We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0faaa69 commit 5290107Copy full SHA for 5290107
src/components/ServiceContainers/ServiceContainerLoading.tsx
@@ -67,7 +67,7 @@ export const ServiceContainerLoading = <T extends TServiceData>({
67
<LoadingStateCard delayMs={loadingStateDelayMs} title={title} hasSkeleton={hasSkeleton} isInline={variant !== 'block'} />
68
);
69
70
- const areDataEmpty = !data || (areServiceDataPaginated(data) && !data.content.length);
+ const areDataEmpty = !data || (areServiceDataPaginated(data) && !data.content.length) || (Array.isArray(data) && !data.length);
71
72
// Refresh loading: keep previous real data with loading indicator when loading new data and previous real data is available
73
// (the component was rendered at some point before)
0 commit comments