From 3b5f987a6f8476f6f42fcded4e8d7a482b5fdd90 Mon Sep 17 00:00:00 2001 From: Ronaldo Macapobre Date: Mon, 9 Dec 2024 08:31:49 -0800 Subject: [PATCH] - Refactor Civil Past/Future Appearances to centralize info extraction - Pass commonStore param instead of accessing it using directly from utils --- .../civil/CivilFutureAppearances.vue | 65 +++-------- .../components/civil/CivilPastAppearances.vue | 67 +++-------- .../criminal/CriminalFutureAppearances.vue | 6 +- .../criminal/CriminalPastAppearances.vue | 6 +- web/src/stores/CommonStore.ts | 2 + web/src/utils/utils.ts | 105 +++++++++++++----- 6 files changed, 121 insertions(+), 130 deletions(-) diff --git a/web/src/components/civil/CivilFutureAppearances.vue b/web/src/components/civil/CivilFutureAppearances.vue index 8d173e6c..76fadbc7 100644 --- a/web/src/components/civil/CivilFutureAppearances.vue +++ b/web/src/components/civil/CivilFutureAppearances.vue @@ -134,19 +134,13 @@