diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/components/sidebar.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/sidebar.vue b/src/components/sidebar.vue index ada509e..9c166d8 100644 --- a/src/components/sidebar.vue +++ b/src/components/sidebar.vue @@ -14,7 +14,7 @@ watch( </script> <template> - <div id="sidebar" class="d-flex flex-column flex-shrink-0 bg-dark border-secondary border-end"> + <div v-if="requiresAuth" id="sidebar" class="d-flex flex-column flex-shrink-0 bg-dark border-secondary border-end"> <RouterLink class="d-flex justify-content-center align-items-center p-3 link-dark text-decoration-none navbar-brand text-white" to="/"> <img src="https://vidhukant.com/images/vidhukant.webp" alt="profile photo" width="32" height="32" class="rounded-circle"> </RouterLink> |