diff options
Diffstat (limited to 'modern/src/EditCollectionView.js')
-rw-r--r-- | modern/src/EditCollectionView.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/modern/src/EditCollectionView.js b/modern/src/EditCollectionView.js index f15d72cf..d3d0af17 100644 --- a/modern/src/EditCollectionView.js +++ b/modern/src/EditCollectionView.js @@ -63,11 +63,9 @@ const EditCollectionView = ({ content, editPath, endpoint }) => { <> <Content updateTimestamp={updateTimestamp} onMenuClick={menuShow} /> {adminEnabled && - ( - <Fab size="medium" color="primary" className={classes.fab} onClick={handleAdd}> - <AddIcon /> - </Fab> - ) + <Fab size="medium" color="primary" className={classes.fab} onClick={handleAdd}> + <AddIcon /> + </Fab> } <Menu open={!!selectedAnchorEl} anchorEl={selectedAnchorEl} onClose={menuHide}> <MenuItem onClick={handleEdit}>{t('sharedEdit')}</MenuItem> |