pl-fe: link to antennas page
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -266,6 +266,15 @@ const DropdownNavigation: React.FC = React.memo((): JSX.Element | null => {
|
||||
/>
|
||||
)}
|
||||
|
||||
{features.antennas && (
|
||||
<DropdownNavigationLink
|
||||
to='/antennas'
|
||||
icon={require('@phosphor-icons/core/regular/broadcast.svg')}
|
||||
text={<FormattedMessage id='column.antennas' defaultMessage='Antennas' />}
|
||||
onClick={closeSidebar}
|
||||
/>
|
||||
)}
|
||||
|
||||
{features.drive && (
|
||||
<DropdownNavigationLink
|
||||
to='/drive/{-$folderId}'
|
||||
|
||||
@ -133,6 +133,14 @@ const SidebarNavigation: React.FC<ISidebarNavigation> = React.memo(({ shrink })
|
||||
});
|
||||
}
|
||||
|
||||
if (features.antennas) {
|
||||
menu.push({
|
||||
to: '/antennas',
|
||||
text: intl.formatMessage({ id: 'column.antennas', defaultMessage: 'Antennas' }),
|
||||
icon: require('@phosphor-icons/core/regular/broadcast.svg'),
|
||||
});
|
||||
}
|
||||
|
||||
if (features.events) {
|
||||
menu.push({
|
||||
to: '/events',
|
||||
|
||||
Reference in New Issue
Block a user