fix(ui): show filter-empty state on repos list (#26160)

Signed-off-by: choejwoo <jaewoo45@gmail.com>
This commit is contained in:
Jaewoo Choi
2026-01-28 21:13:44 +09:00
committed by GitHub
parent e3f616d6dc
commit 2f4c5bb972

View File

@@ -854,8 +854,17 @@ export const ReposList = ({match, location}: RouteComponentProps) => {
</div>
)) || (
<EmptyState icon='argo-icon-git'>
<h4>No repositories connected</h4>
<h5>Connect your repo to deploy apps.</h5>
{repos.length > 0 ? (
<>
<h4>No repositories matched your filters</h4>
<h5>Try adjusting Type/Project/Status or your search.</h5>
</>
) : (
<>
<h4>No repositories connected</h4>
<h5>Connect your repo to deploy apps.</h5>
</>
)}
</EmptyState>
)
);