From d224f434486899c39f08924de46e809d39d9144a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Tue, 10 Oct 2023 22:11:22 -0400 Subject: [PATCH] fix(components): add logout link to navbar --- components/layouts/navbar.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/layouts/navbar.vue b/components/layouts/navbar.vue index 10d35cd..7a194f5 100644 --- a/components/layouts/navbar.vue +++ b/components/layouts/navbar.vue @@ -16,6 +16,7 @@ messages: "/messages", profile: `/user/${data?.value?.user?._id || 0}`, admin: "/admin", + logout: "/logout", }; let cur = ref( Object.keys(itemMap).find((a) => itemMap[a] === useRoute().path) || @@ -62,6 +63,7 @@ Admin + Logout