Merge pull request #1268 from lucasleite01/manager-announcement

Allow managers to sent announcements
This commit is contained in:
Anton Tananaev 2024-09-18 09:05:52 -07:00 committed by GitHub
commit d70becb939
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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')}