Add link to announcements

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2023-02-14 23:34:27 +01:00
parent 00657c201f
commit 45cf156a79

View file

@ -43,6 +43,7 @@ const Dashboard: React.FC = () => {
const navigateToSoapboxConfig = () => history.push('/soapbox/config');
const navigateToModerationLog = () => history.push('/soapbox/admin/log');
const navigateToAnnouncements = () => history.push('/soapbox/admin/announcements');
const v = parseVersion(instance.version);
@ -95,6 +96,11 @@ const Dashboard: React.FC = () => {
onClick={navigateToModerationLog}
label={<FormattedMessage id='column.admin.moderation_log' defaultMessage='Moderation Log' />}
/>
<ListItem
onClick={navigateToAnnouncements}
label={<FormattedMessage id='column.admin.announcements' defaultMessage='Announcements' />}
/>
</List>
{account.admin && (