Skip to content

Commit

Permalink
fix: Show "Approved" for Host
Browse files Browse the repository at this point in the history
  • Loading branch information
EthnTuttle committed Aug 16, 2023
1 parent 30972ac commit f2ce3cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/guardian-ui/src/components/ConnectGuardians.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ export const ConnectGuardians: React.FC<Props> = ({ next }) => {
key: peers[i].cert,
name: peers[i].name,
status:
peers[i].status === ServerStatus.ReadyForConfigGen ? (
peers[i].status === ServerStatus.ReadyForConfigGen ||
role === GuardianRole.Host ? (
<Tag colorScheme='green'>{t('connect-guardians.approved')}</Tag>
) : (
<Tag colorScheme='orange'>{t('connect-guardians.pending')}</Tag>
Expand Down

0 comments on commit f2ce3cc

Please sign in to comment.