1
0
forked from test/crm

fix: added id on comment in activity

This commit is contained in:
Shariq Ansari 2024-01-29 22:50:27 +05:30
parent a9d51f8f8a
commit 8a5b5a6e0f
2 changed files with 7 additions and 1 deletions

View File

@ -97,6 +97,7 @@ def get_deal_activities(name):
for comment in docinfo.comments:
activity = {
"name": comment.name,
"activity_type": "comment",
"creation": comment.creation,
"owner": comment.owner,
@ -203,6 +204,7 @@ def get_lead_activities(name):
for comment in docinfo.comments:
activity = {
"name": comment.name,
"activity_type": "comment",
"creation": comment.creation,
"owner": comment.owner,

View File

@ -417,7 +417,11 @@
</div>
</div>
</div>
<div class="mb-4" v-else-if="activity.activity_type == 'comment'">
<div
class="mb-4"
:id="activity.name"
v-else-if="activity.activity_type == 'comment'"
>
<div
class="mb-0.5 flex items-start justify-stretch gap-2 py-1.5 text-base"
>