1
0
forked from test/crm

fix: load default lead/deal_owner

This commit is contained in:
Shariq Ansari 2024-01-17 13:05:34 +05:30
parent fe39be5f97
commit ec80e3704f
2 changed files with 6 additions and 0 deletions

View File

@ -164,5 +164,8 @@ onMounted(() => {
if (!props.newDeal.status) {
props.newDeal.status = getDealStatus(props.newDeal.status).name
}
if (!props.newDeal.deal_owner) {
props.newDeal.deal_owner = getUser().email
}
})
</script>

View File

@ -164,5 +164,8 @@ onMounted(() => {
if (!props.newLead.status) {
props.newLead.status = getLeadStatus(props.newLead.status).name
}
if (!props.newLead.lead_owner) {
props.newLead.lead_owner = getUser().email
}
})
</script>