diff --git a/client/src/components/Collections/ShareCollectionModal.tsx b/client/src/components/Collections/ShareCollectionModal.tsx index 4586c448b..f261623ed 100644 --- a/client/src/components/Collections/ShareCollectionModal.tsx +++ b/client/src/components/Collections/ShareCollectionModal.tsx @@ -202,15 +202,15 @@ export default function ShareCollectionModal({ {t('collections.share.pending')} ) : isOwner ? ( - +
+ handleSetRole(member.user_id, v as CollectionRole)} + options={ROLE_ORDER.map(r => ({ value: r, label: t(`collections.role.${r}`) }))} + disabled={settingRoleId === member.user_id} + /> +
) : ( {t(`collections.role.${member.role ?? 'editor'}`)} @@ -264,14 +264,14 @@ export default function ShareCollectionModal({ searchable /> - +
+ setInviteRole(v as CollectionRole)} + options={ROLE_ORDER.map(r => ({ value: r, label: t(`collections.role.${r}`) }))} + /> +