diff options
Diffstat (limited to 'modern/src/main')
-rw-r--r-- | modern/src/main/MainToolbar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/main/MainToolbar.js b/modern/src/main/MainToolbar.js index caba2410..b029529c 100644 --- a/modern/src/main/MainToolbar.js +++ b/modern/src/main/MainToolbar.js @@ -167,7 +167,7 @@ const MainToolbar = ({ </div> </Popover> <IconButton edge="end" onClick={() => navigate('/settings/device')} disabled={deviceReadonly}> - <Tooltip open={Object.keys(devices).length === 0} title={t('deviceRegisterFirst')} arrow> + <Tooltip open={!deviceReadonly && Object.keys(devices).length === 0} title={t('deviceRegisterFirst')} arrow> <AddIcon /> </Tooltip> </IconButton> |