mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
fix(ui): show filter-empty state on repos list (#26160)
Signed-off-by: choejwoo <jaewoo45@gmail.com>
This commit is contained in:
@@ -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>
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user