From d42a513619e6b4ed34fd2fd88052df6fd02de5be Mon Sep 17 00:00:00 2001 From: Josh Perez <60019601+josh-signal@users.noreply.github.com> Date: Thu, 3 Jun 2021 20:42:46 -0400 Subject: [PATCH] Value in Select needs to be a string(boolean) --- .../conversation-details/GroupLinkManagement.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ts/components/conversation/conversation-details/GroupLinkManagement.tsx b/ts/components/conversation/conversation-details/GroupLinkManagement.tsx index bb2d07f23..44d9620ce 100644 --- a/ts/components/conversation/conversation-details/GroupLinkManagement.tsx +++ b/ts/components/conversation/conversation-details/GroupLinkManagement.tsx @@ -63,11 +63,11 @@ export const GroupLinkManagement: React.ComponentType = ({ options={[ { text: i18n('on'), - value: i18n('on'), + value: 'true', }, { text: i18n('off'), - value: i18n('off'), + value: 'false', }, ]} value={String(Boolean(hasGroupLink))} @@ -121,11 +121,11 @@ export const GroupLinkManagement: React.ComponentType = ({ options={[ { text: i18n('on'), - value: i18n('on'), + value: 'true', }, { text: i18n('off'), - value: i18n('off'), + value: 'false', }, ]} value={String(membersNeedAdminApproval)}