Add link to announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
00657c201f
commit
45cf156a79
1 changed files with 6 additions and 0 deletions
|
@ -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 && (
|
||||
|
|
Loading…
Reference in a new issue