diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-12-07 16:31:59 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-12-07 16:31:59 +0530 |
commit | 33ae84aea901c6737eb10b4e283d5de09c769512 (patch) | |
tree | c5cc9e4863cc9bf09bf1335363fad67401e593c1 | |
parent | 3ebd619d89aa20b57542888ac1dac47451c4b1a9 (diff) |
hiding sidebar on login page0.4.0
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | src/components/sidebar.vue | 2 |
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> |