Fix jwt-token
This commit is contained in:
@@ -33,7 +33,7 @@ const Layout = () => {
|
||||
// Build navigation based on user permissions with translations
|
||||
const baseNavigation = [
|
||||
{ name: t('navigation.dashboard'), href: '/', icon: HomeIcon },
|
||||
{ name: 'Map View', href: '/map', icon: MapIcon }, // TODO: Add to translations
|
||||
{ name: t('navigation.map'), href: '/map', icon: MapIcon },
|
||||
{ name: t('navigation.devices'), href: '/devices', icon: ServerIcon },
|
||||
{ name: t('navigation.detections'), href: '/detections', icon: ExclamationTriangleIcon },
|
||||
{ name: t('navigation.alerts'), href: '/alerts', icon: BellIcon },
|
||||
@@ -106,7 +106,7 @@ const Layout = () => {
|
||||
<div className="flex-1 px-4 flex justify-between items-center">
|
||||
<div className="flex-1 flex">
|
||||
<h1 className="text-xl font-semibold text-gray-900">
|
||||
{navigation?.find(item => item.href === location.pathname)?.name || 'Drone Detection System'}
|
||||
{navigation?.find(item => item.href === location.pathname)?.name || t('app.title')}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user