Skip to content

Commit

Permalink
For now; entirely disable sharing owner role (calcom#1372)
Browse files Browse the repository at this point in the history
  • Loading branch information
emrysal authored Dec 23, 2021
1 parent 3761a75 commit 3e5987a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion components/team/MemberChangeRoleModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
1 change: 0 additions & 1 deletion components/team/MemberInvitationModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 3e5987a

Please sign in to comment.