diff --git a/nuxt/components/Navigation.vue b/nuxt/components/Navigation.client.vue similarity index 93% rename from nuxt/components/Navigation.vue rename to nuxt/components/Navigation.client.vue index 1480e99..56f8059 100644 --- a/nuxt/components/Navigation.vue +++ b/nuxt/components/Navigation.client.vue @@ -22,7 +22,7 @@ const links: NavigationTree[] = [ }, ] -/* if (authStore.user?.roles.includes('admin')) { +if (authStore.user?.roles.includes('admin')) { links.push({ label: 'Admin', to: '/admin', @@ -40,7 +40,7 @@ const links: NavigationTree[] = [ }, ], }) -} */ +}