Fixed not shown initial ticket customer avatar.
This commit is contained in:
parent
6ea24bf8a0
commit
02f760a627
1 changed files with 10 additions and 10 deletions
|
@ -351,7 +351,7 @@ class App.TicketZoom extends App.Controller
|
||||||
# rerender whole sidebar if customer or organization has changed
|
# rerender whole sidebar if customer or organization has changed
|
||||||
if @ticketLastAttributes.customer_id isnt @ticket.customer_id || @ticketLastAttributes.organization_id isnt @ticket.organization_id
|
if @ticketLastAttributes.customer_id isnt @ticket.customer_id || @ticketLastAttributes.organization_id isnt @ticket.organization_id
|
||||||
new App.WidgetAvatar(
|
new App.WidgetAvatar(
|
||||||
el: @$('.ticketZoom-header .js-avatar')
|
el: elLocal.find('.ticketZoom-header .js-avatar')
|
||||||
user_id: @ticket.customer_id
|
user_id: @ticket.customer_id
|
||||||
size: 50
|
size: 50
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue