From 78d5fb914bfbeee50b356ec4125a66baa81fd096 Mon Sep 17 00:00:00 2001 From: Peter Morton Date: Tue, 18 Oct 2022 19:32:35 -0500 Subject: [PATCH] Improved summary --- .env.development | 2 +- src/App.vue | 6 ++---- src/components/ContactsSummary.vue | 21 +++++++++++++-------- src/components/HandledBy.vue | 3 ++- src/components/OutcomeList.vue | 4 +++- 5 files changed, 21 insertions(+), 15 deletions(-) diff --git a/.env.development b/.env.development index 5e4f0da..3c6a459 100644 --- a/.env.development +++ b/.env.development @@ -1 +1 @@ -VITE_EO_SERVICES_URL=https://localhost:9000 +VITE_EO_SERVICES_URL=http://localhost:9000 diff --git a/src/App.vue b/src/App.vue index 867d814..f44a660 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,7 +11,6 @@ function onInput(e) { } async function fetchData() { - console.log('fetchingData'); contactData.value = null const res = await fetch(`${import.meta.env.VITE_EO_SERVICES_URL}/thread-tracker?threadId=${ threadId.value }`, { credentials: "include" // fetch won't send cookies unless you set credentials @@ -30,11 +29,10 @@ async function fetchData() {
+
- -
- +
No Contacts Found
diff --git a/src/components/ContactsSummary.vue b/src/components/ContactsSummary.vue index 8553f4e..984aec2 100644 --- a/src/components/ContactsSummary.vue +++ b/src/components/ContactsSummary.vue @@ -1,28 +1,33 @@ diff --git a/src/components/HandledBy.vue b/src/components/HandledBy.vue index d48acea..2bc93ee 100644 --- a/src/components/HandledBy.vue +++ b/src/components/HandledBy.vue @@ -3,5 +3,6 @@ defineProps(["handledBy"]); \ No newline at end of file diff --git a/src/components/OutcomeList.vue b/src/components/OutcomeList.vue index e176e19..382ff5b 100644 --- a/src/components/OutcomeList.vue +++ b/src/components/OutcomeList.vue @@ -4,5 +4,7 @@ defineProps(["outcomes"]); \ No newline at end of file