aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.json2
-rw-r--r--src/components/sidebar.vue2
2 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index bf34509..63fbf4e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "openbills-web",
- "version": "0.3.2",
+ "version": "0.4.0",
"private": false,
"scripts": {
"dev": "vite",
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>