fix: Minor fixes to new collection sharing UI (behind flag)

This commit is contained in:
Tom Moor
2024-05-16 20:55:09 -04:00
parent cae013837b
commit 3d87a03ca6
7 changed files with 35 additions and 15 deletions

View File

@@ -137,7 +137,7 @@ function SharePopover({
role: team.defaultUserRole,
},
]);
user = response.users[0];
user = response[0];
} else {
user = users.get(idOrEmail);
}
@@ -242,7 +242,7 @@ function SharePopover({
const rightButton = picker ? (
pendingIds.length ? (
<ButtonSmall action={inviteAction} context={context} key="invite">
{t("Invite")}
{t("Add")}
</ButtonSmall>
) : null
) : (