mirror of
https://github.com/traccar/traccar-web.git
synced 2025-01-09 04:37:33 +08:00
Merge pull request #1268 from lucasleite01/manager-announcement
Allow managers to sent announcements
This commit is contained in:
commit
d70becb939
@ -141,21 +141,19 @@ const SettingsMenu = () => {
|
||||
<>
|
||||
<Divider />
|
||||
<List>
|
||||
{admin && (
|
||||
<>
|
||||
<MenuItem
|
||||
title={t('serverAnnouncement')}
|
||||
link="/settings/announcement"
|
||||
icon={<CampaignIcon />}
|
||||
selected={location.pathname === '/settings/announcement'}
|
||||
/>
|
||||
{admin && (
|
||||
<MenuItem
|
||||
title={t('settingsServer')}
|
||||
link="/settings/server"
|
||||
icon={<StorageIcon />}
|
||||
selected={location.pathname === '/settings/server'}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
<MenuItem
|
||||
title={t('settingsUsers')}
|
||||
|
Loading…
Reference in New Issue
Block a user