Removing the Admin role option from team minimum role (#3506)

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
This commit is contained in:
Jesús Espino 2022-08-04 18:52:24 +02:00 committed by GitHub
parent e06513e4da
commit cdcc50e075
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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' }