From 34e0c44a4078798eab5c08be2fedb5669cf8e00e Mon Sep 17 00:00:00 2001 From: Nils-Johan Gynther Date: Sat, 18 Apr 2026 15:12:34 +0200 Subject: [PATCH] fix(navigation): reorder admin and user links in navigation menu --- frontend/app/Navigation.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/frontend/app/Navigation.tsx b/frontend/app/Navigation.tsx index c06ac34d..6e9733ac 100644 --- a/frontend/app/Navigation.tsx +++ b/frontend/app/Navigation.tsx @@ -32,13 +32,15 @@ export default async function Navigation() { 🏠 Hem 🛒 Varor 📖 Recept - 🏪 Baslager - ⚙️ Admin - {(session?.user as any)?.role === 'admin' && ( - 👥 Användare - )} - 📥 Importera 📅 Matplan + 📥 Importera + 🏪 Baslager + {(session?.user as any)?.role === 'admin' && ( + <> + ⚙️ Admin + 👥 Användare + + )} {session?.user && ( <>