Alerting: Hide list view loader if we don't have anything yet (#110464)

This commit is contained in:
Gilles De Mey
2025-09-02 15:24:54 +00:00
committed by GitHub
parent cdd7a2cfd2
commit 62cbe15f51
@@ -111,7 +111,7 @@ function PaginatedGroupsLoader({ rulesSourceIdentifier, application, groupFilter
))}
</ListSection>
))}
{hasMoreGroups && (
{hasMoreGroups && !hasNoRules && (
// this div will make the button not stretch
<div>
<LoadMoreButton loading={isLoading} onClick={fetchMoreGroups} />