fix: only show create lead button on incoming call

This commit is contained in:
Shariq Ansari 2023-08-30 20:32:46 +05:30
parent aa8c270571
commit 6fdf79d567

View File

@ -5,7 +5,7 @@
</template> </template>
<template #right-header> <template #right-header>
<Button <Button
v-if="!callLog.data.lead" v-if="callLog.data.type == 'Incoming' && !callLog.data.lead"
variant="solid" variant="solid"
label="Create lead" label="Create lead"
@click="createLead" @click="createLead"