We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcabec5 commit b42d56dCopy full SHA for b42d56d
webapp/src/components/AssetList/AssetList.tsx
@@ -44,7 +44,8 @@ const AssetList = (props: Props) => {
44
)
45
const maxQuerySize = getMaxQuerySize(vendor)
46
47
- const hasMorePages = !isLoading && count !== undefined && (assets.length !== count || count === maxQuerySize) && page <= MAX_PAGE
+ const hasMorePages =
48
+ !isLoading && count !== undefined && count > 0 && (assets.length !== count || count === maxQuerySize) && page <= MAX_PAGE
49
50
const emptyStateTranslationString = useMemo(() => {
51
if (assets.length > 0) {
0 commit comments