Skip to content

Commit

Permalink
Removing the Admin role option from team minimum role (mattermost-com…
Browse files Browse the repository at this point in the history
…munity#3506)

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
  • Loading branch information
jespino and mattermod authored Aug 4, 2022
1 parent e06513e commit cdcc50e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions webapp/src/components/shareBoard/teamPermissionsRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,6 @@ const TeamPermissionsRow = (): JSX.Element => {
/>
</button>
<Menu position='left'>
<Menu.Text
id='Admin'
check={board.minimumRole === 'admin'}
icon={board.type === BoardTypeOpen && board.minimumRole === 'admin' ? <CheckIcon/> : null}
name={intl.formatMessage({id: 'BoardMember.schemeAdmin', defaultMessage: 'Admin'})}
onClick={() => updateBoardType(board, BoardTypeOpen, 'admin')}
/>
<Menu.Text
id='Editor'
check={board.minimumRole === '' || board.minimumRole === 'editor' }
Expand Down

0 comments on commit cdcc50e

Please sign in to comment.