diff --git a/packages/web/src/javascripts/Components/Preferences/Panes/Vaults/Invites/ContactInviteModal.tsx b/packages/web/src/javascripts/Components/Preferences/Panes/Vaults/Invites/ContactInviteModal.tsx index df42cc2f707..121290ffaf6 100644 --- a/packages/web/src/javascripts/Components/Preferences/Panes/Vaults/Invites/ContactInviteModal.tsx +++ b/packages/web/src/javascripts/Components/Preferences/Panes/Vaults/Invites/ContactInviteModal.tsx @@ -130,7 +130,7 @@ const ContactInviteModal: FunctionComponent = ({ vault, onCloseDialog }) wrapper: 'col-start-2', }} items={Object.keys(SharedVaultUserPermission.PERMISSIONS).map((key) => ({ - label: application.vaultUsers.getFormattedMemberPermission(key), + label: application.vaultUsers.getFormattedMemberPermission(key.toLowerCase()), value: key, }))} value={selectedContact.permission} diff --git a/packages/web/src/javascripts/Components/Preferences/Panes/Vaults/Vaults.tsx b/packages/web/src/javascripts/Components/Preferences/Panes/Vaults/Vaults.tsx index 5dc8508f2c4..6bbb2d6b196 100644 --- a/packages/web/src/javascripts/Components/Preferences/Panes/Vaults/Vaults.tsx +++ b/packages/web/src/javascripts/Components/Preferences/Panes/Vaults/Vaults.tsx @@ -138,13 +138,11 @@ const Vaults = observer(() => { - - {invites.length > 0 && ( @@ -157,7 +155,6 @@ const Vaults = observer(() => { )} - {hasAccount && ( @@ -175,33 +172,6 @@ const Vaults = observer(() => { )} - - - - Vaults - {vaults.length > 0 && ( -
- {vaults.map((vault) => { - return - })} -
- )} - {canCreateMoreVaults ? ( -
-
- ) : ( -
- Please upgrade in order to increase your shared vault limit.} - /> -
- )} -
-
- {hasAccount && ( @@ -244,6 +214,31 @@ const Vaults = observer(() => { )} + + + Vaults + {vaults.length > 0 && ( +
+ {vaults.map((vault) => { + return + })} +
+ )} + {canCreateMoreVaults ? ( +
+
+ ) : ( +
+ Please upgrade in order to increase your shared vault limit.} + /> +
+ )} +
+
) })