From 4dcaab9fc208b08cb2aa93369b32a90497eaeba7 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Fri, 12 Jan 2024 11:53:29 +0530 Subject: [PATCH] fix: call makeCall from global store --- frontend/src/components/Activities.vue | 2 ++ frontend/src/pages/Contact.vue | 18 +++++++++--------- frontend/src/pages/Deal.vue | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/Activities.vue b/frontend/src/components/Activities.vue index 02b97c02..37439235 100644 --- a/frontend/src/components/Activities.vue +++ b/frontend/src/components/Activities.vue @@ -709,6 +709,7 @@ import { startCase, taskStatusOptions, } from '@/utils' +import { globalStore } from '@/stores/global' import { usersStore } from '@/stores/users' import { contactsStore } from '@/stores/contacts' import { @@ -724,6 +725,7 @@ import { import { useElementVisibility } from '@vueuse/core' import { ref, computed, h, defineModel, markRaw, watch, nextTick } from 'vue' +const { makeCall } = globalStore() const { getUser } = usersStore() const { getContact } = contactsStore() diff --git a/frontend/src/pages/Contact.vue b/frontend/src/pages/Contact.vue index 8147e5f1..7f2880e4 100644 --- a/frontend/src/pages/Contact.vue +++ b/frontend/src/pages/Contact.vue @@ -70,14 +70,14 @@ > · - - - {{ contact.mobile_no }} + +
+ + {{ contact.mobile_no }} +