Skip to content

Commit

Permalink
fix: contact details instead of customer
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitbhanushali committed Apr 30, 2024
1 parent e2b30c1 commit e275a86
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions desk/src/components/ticket/TicketAgentSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
<span>#{{ ticket.name }}</span>
</div>
<TicketAgentCustomer
v-if="ticket.customer"
v-if="ticket.contact"
:name="
ticket.contact.name ? ticket.contact.name : ticket.contact.email_id
"
:email="ticket.contact.email_id"
@email:open="(e) => emit('email:open', e)"
:name="ticket.customer"
email="[email protected]"
website="www.example.com"
/>
<TicketAgentDetails
:first-responded-on="ticket.first_responded_on"
Expand Down

0 comments on commit e275a86

Please sign in to comment.