Removing the Admin role option from team minimum role (#3506)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
This commit is contained in:
parent
e06513e4da
commit
cdcc50e075
1 changed files with 0 additions and 7 deletions
|
@ -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' }
|
||||
|
|
Loading…
Reference in a new issue