[FIX] livechat: fix livechat display for website visitor
add customer_email_data in the add_message function, otherwise he would crash later trying to get this key's value's length and nothing would be displayed for the website visitor.
This commit is contained in:
@@ -196,6 +196,7 @@ var LivechatButton = Widget.extend({
|
||||
date: moment(time.str_to_datetime(data.date)),
|
||||
is_needaction: false,
|
||||
is_note: data.is_note,
|
||||
customer_email_data: []
|
||||
};
|
||||
|
||||
// Compute displayed author name or email
|
||||
|
||||
Reference in New Issue
Block a user