aboutsummaryrefslogtreecommitdiff
path: root/src/components/sidebar.vue
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-07 05:01:08 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-07 05:01:08 +0530
commit4c48edc7905d6fb16b01ea707ee7e730dff78ced (patch)
tree343839b5c7bcd7abf24ba7ef9f3ba7c33ccf78f8 /src/components/sidebar.vue
parent464dac56714f4fb187785abda04bf3f2170af2a2 (diff)
added view invoice page with print button!0.3.0
Diffstat (limited to 'src/components/sidebar.vue')
-rw-r--r--src/components/sidebar.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/sidebar.vue b/src/components/sidebar.vue
index 4c4623f..ada509e 100644
--- a/src/components/sidebar.vue
+++ b/src/components/sidebar.vue
@@ -1,5 +1,5 @@
<script setup lang="js">
-import { watch, ref, toRaw } from 'vue'
+import { watch, ref } from 'vue'
import { RouterLink, useRoute } from 'vue-router'
import { BIconHouseDoor, BIconPlusSquare, BIconPersonCircle, BIconStack, BIconBuildings } from 'bootstrap-icons-vue';
@@ -36,7 +36,7 @@ watch(
<li class="nav-item">
<RouterLink
to="/invoice/new"
- :class="`nav-link ${(route.name === 'new-invoice' || route.name === 'edit-draft') ? 'active' : ''} py-3 border-secondary border-bottom text-white`"
+ :class="`nav-link ${(route.name === 'new-invoice' || route.name === 'edit-invoice') ? 'active' : ''} py-3 border-secondary border-bottom text-white`"
aria-current="page"
title="New Invoice"
data-bs-toggle="tooltip"