diff --git a/src/layouts/sidebar/sidebar.vue b/src/layouts/sidebar/sidebar.vue index b5af29b..bc2ef8a 100755 --- a/src/layouts/sidebar/sidebar.vue +++ b/src/layouts/sidebar/sidebar.vue @@ -64,13 +64,13 @@
  • Today's Service Calls - {{ countsStore.today_service }} + {{ countsStore.todayService }}
  • Upcoming Service - {{ countsStore.upcoming_service }} + {{ countsStore.upcomingService }}
  • Past Service
  • diff --git a/src/stores/counts.ts b/src/stores/counts.ts index baef9e6..a103659 100644 --- a/src/stores/counts.ts +++ b/src/stores/counts.ts @@ -12,8 +12,8 @@ export const useCountsStore = defineStore('counts', () => { const waiting = ref(0) const pending = ref(0) const automatic = ref(0) - const upcoming_service = ref(0) - const today_service = ref(0) + const upcomingService = ref(0) + const todayService = ref(0) const transaction = ref(0) // --- ACTIONS --- @@ -29,8 +29,8 @@ export const useCountsStore = defineStore('counts', () => { waiting.value = counts.waiting; pending.value = counts.pending; automatic.value = counts.automatic; - upcoming_service.value = counts.upcoming_service; - today_service.value = counts.today_service || 0; + upcomingService.value = counts.upcoming_service; + todayService.value = counts.today_service || 0; transaction.value = counts.transaction || 0; } } catch { @@ -48,8 +48,8 @@ export const useCountsStore = defineStore('counts', () => { waiting, pending, automatic, - upcoming_service, - today_service, + upcomingService, + todayService, transaction, fetchSidebarCounts, }