aboutsummaryrefslogtreecommitdiff
path: root/modern/src/EditCollectionView.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-04-17 13:37:48 -0700
committerAnton Tananaev <anton@traccar.org>2022-04-17 13:37:48 -0700
commit914f3dae0e34304eebbfaae2b7740e53206ce527 (patch)
tree80c1bb780ab67d5483a0eb273608b34a748526b7 /modern/src/EditCollectionView.js
parent6505a13e0037d5de5737e940907cc62c4a9107bc (diff)
downloadtrackermap-web-914f3dae0e34304eebbfaae2b7740e53206ce527.tar.gz
trackermap-web-914f3dae0e34304eebbfaae2b7740e53206ce527.tar.bz2
trackermap-web-914f3dae0e34304eebbfaae2b7740e53206ce527.zip
Fix style issues
Diffstat (limited to 'modern/src/EditCollectionView.js')
-rw-r--r--modern/src/EditCollectionView.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/modern/src/EditCollectionView.js b/modern/src/EditCollectionView.js
index 6bb9cb3e..5d1d4e74 100644
--- a/modern/src/EditCollectionView.js
+++ b/modern/src/EditCollectionView.js
@@ -65,11 +65,11 @@ const EditCollectionView = ({
return (
<>
<Content updateTimestamp={updateTimestamp} onMenuClick={menuShow} filter={filter} />
- {adminEnabled && !disableAdd && (
- <Fab size="medium" color="primary" className={classes.fab} onClick={handleAdd}>
- <AddIcon />
- </Fab>
- )}
+ {adminEnabled && !disableAdd && (
+ <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>
<MenuItem onClick={handleRemove}>{t('sharedRemove')}</MenuItem>