From f2ce3cc957a2dc7d6dbf88038636d3c76313c636 Mon Sep 17 00:00:00 2001 From: Ethan Tuttle Date: Wed, 16 Aug 2023 13:02:50 -0400 Subject: [PATCH] fix: Show "Approved" for Host --- apps/guardian-ui/src/components/ConnectGuardians.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/guardian-ui/src/components/ConnectGuardians.tsx b/apps/guardian-ui/src/components/ConnectGuardians.tsx index 44ce843ea..3ab96ac93 100644 --- a/apps/guardian-ui/src/components/ConnectGuardians.tsx +++ b/apps/guardian-ui/src/components/ConnectGuardians.tsx @@ -136,7 +136,8 @@ export const ConnectGuardians: React.FC = ({ next }) => { key: peers[i].cert, name: peers[i].name, status: - peers[i].status === ServerStatus.ReadyForConfigGen ? ( + peers[i].status === ServerStatus.ReadyForConfigGen || + role === GuardianRole.Host ? ( {t('connect-guardians.approved')} ) : ( {t('connect-guardians.pending')}