From a7b8c0795238a5166743f5647098a328c4f1fbb6 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, 9 Jul 2024 20:31:53 -0400 Subject: [PATCH] refactor(components): navbar updates add `key` attribute to `a-menu` element only show "new story" button to logged in users change `data` check to check for `data.user` --- components/layouts/navbar.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/components/layouts/navbar.vue b/components/layouts/navbar.vue index a4df6c8..b1fbf26 100644 --- a/components/layouts/navbar.vue +++ b/components/layouts/navbar.vue @@ -1,5 +1,5 @@