Skip to content

Commit

Permalink
Merge pull request #141 from fedimint/approved-for-host
Browse files Browse the repository at this point in the history
fix: Show "Approved" for Host
  • Loading branch information
EthnTuttle committed Aug 16, 2023
2 parents 30972ac + f2ce3cc commit 1002a42
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 1002a42

Please sign in to comment.