Skip to content

Commit

Permalink
Add none when no mirrors for query replication (#1239)
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Dubé <[email protected]>
  • Loading branch information
iskakaushik and serprex authored Feb 10, 2024
1 parent d7aef0a commit 38b329b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ui/app/mirrors/tables.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ export function QRepFlows({
}),
[searchQuery, qrepFlows]
);

if (mirrors.length === 0) {
return <Label variant='headline'>{title}: None</Label>;
}

return (
<>
<Label variant='headline'>{title}</Label>
Expand Down

0 comments on commit 38b329b

Please sign in to comment.