pl-fe: link to antennas page

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-01-24 11:16:53 +01:00
parent 0828f193c8
commit 91e30633ef
2 changed files with 17 additions and 0 deletions

View File

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

View File

@ -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',