Skip to content

Commit

Permalink
Allow managers to sent announcements
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasleite01 committed Sep 18, 2024
1 parent e198523 commit 8604b7c
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions src/settings/components/SettingsMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,21 +141,19 @@ const SettingsMenu = () => {
<>
<Divider />
<List>
{admin && (
<>
<MenuItem
title={t('serverAnnouncement')}
link="/settings/announcement"
icon={<CampaignIcon />}
selected={location.pathname === '/settings/announcement'}
/>
<MenuItem
title={t('settingsServer')}
link="/settings/server"
icon={<StorageIcon />}
selected={location.pathname === '/settings/server'}
/>
</>
<MenuItem
title={t('serverAnnouncement')}
link="/settings/announcement"
icon={<CampaignIcon />}
selected={location.pathname === '/settings/announcement'}
/>
{admin && (

Check failure on line 150 in src/settings/components/SettingsMenu.jsx

View workflow job for this annotation

GitHub Actions / build

Trailing spaces not allowed
<MenuItem
title={t('settingsServer')}
link="/settings/server"
icon={<StorageIcon />}
selected={location.pathname === '/settings/server'}
/>
)}
<MenuItem
title={t('settingsUsers')}
Expand Down

0 comments on commit 8604b7c

Please sign in to comment.