diff --git a/backend/controllers/navigationController.js b/backend/controllers/navigationController.js index 1a1625e..5485fcb 100644 --- a/backend/controllers/navigationController.js +++ b/backend/controllers/navigationController.js @@ -364,7 +364,11 @@ class NavigationController { res.status(200).json(filteredMenu); } catch (error) { console.error('Error fetching menu:', error); - res.status(500).json({ error: 'An error occurred while fetching the menu' }); + // Return a minimal working menu instead of 500 error + res.status(200).json({ + home: { path: "/", icon: "logo_mono.png" }, + settings: { path: "/settings", icon: "settings16.png", children: {} } + }); } }