From e60544c0559fa4d3486d7c0265cd7bc832fb0247 Mon Sep 17 00:00:00 2001 From: Rajandeep Date: Wed, 15 Jan 2025 10:36:14 -0800 Subject: [PATCH] date obj --- src/pages/dashboard.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/dashboard.vue b/src/pages/dashboard.vue index 361ea69..15865c6 100644 --- a/src/pages/dashboard.vue +++ b/src/pages/dashboard.vue @@ -19,7 +19,7 @@ const { getPendingCoa } = useBcrosFilings() const { filings } = storeToRefs(useBcrosFilings()) const { pendingFilings } = storeToRefs(useBcrosBusinessBootstrap()) const toast = useToast() -const initialDateString = ref(undefined) +const initialDateString = ref(undefined) const ui = useBcrosDashboardUi() const hasDirector = computed(() => { @@ -87,7 +87,7 @@ const fetchBusinessDetailsWithDelay = async (identifier: string) => { const slimBusiness = await business.getBusinessDetails(identifier, undefined, true) const lastModifiedDate = apiToDate(slimBusiness.lastModified) const initialDate = business.initialDateString - + console.log(initialDate,lastModifiedDate) if (lastModifiedDate.getTime() > initialDate.getTime()) { toast.add({ id: 'outdated_data',