Skip to content

Scheduling infrastructure for absolutely everyone.

For now; entirely disable sharing owner role (#1372)

Alex van Andel3e5987abec9d
diff --git a/components/team/MemberChangeRoleModal.tsx b/components/team/MemberChangeRoleModal.tsx
index 934e14bfd22..f28c28f7055 100644
--- a/components/team/MemberChangeRoleModal.tsx
+++ b/components/team/MemberChangeRoleModal.tsx
@@ -61,7 +61,7 @@ export default function MemberChangeRoleModal(props: {
className="block w-full mt-1 border-gray-300 rounded-md shadow-sm focus:ring-black focus:border-brand sm:text-sm">
<option value="MEMBER">{t("member")}</option>
<option value="ADMIN">{t("admin")}</option>
- <option value="OWNER">{t("owner")}</option>
+ {/*<option value="OWNER">{t("owner")}</option> - needs dialog to confirm change of ownership */}
</select>
</div>
diff --git a/components/team/MemberInvitationModal.tsx b/components/team/MemberInvitationModal.tsx
index 6cde51c8d40..2ba1d2dba24 100644
--- a/components/team/MemberInvitationModal.tsx
+++ b/components/team/MemberInvitationModal.tsx
@@ -99,7 +99,6 @@ export default function MemberInvitationModal(props: { team: TeamWithMembers | n
className="block w-full mt-1 border-gray-300 rounded-md shadow-sm focus:ring-black focus:border-brand sm:text-sm">
<option value="MEMBER">{t("member")}</option>
<option value="ADMIN">{t("admin")}</option>
- <option value="OWNER">{t("owner")}</option>
</select>
</div>
<div className="relative flex items-start">