Fix build issue

This commit is contained in:
Pierre HUBERT 2018-07-03 11:38:43 +02:00
parent dd53a39c4b
commit 0b5e50aade

View File

@ -211,15 +211,15 @@ ComunicWeb.components.account.export.worker = {
data.all_conversation_messages.forEach(parseConversationMessage); data.all_conversation_messages.forEach(parseConversationMessage);
//* All from conversations //* All from conversations
for (const num in data.conversations_messages) { for (var num in data.conversations_messages) {
if (data.conversations_messages.hasOwnProperty(num)) { if (data.conversations_messages.hasOwnProperty(num)) {
const conversation = data.conversations_messages[num]; var conversation = data.conversations_messages[num];
conversation.forEach(parseConversationMessage); conversation.forEach(parseConversationMessage);
} }
} }
//Related user information //Related user information
for (const key in data.users_info) { for (var key in data.users_info) {
if (data.users_info.hasOwnProperty(key)) { if (data.users_info.hasOwnProperty(key)) {
parseUserInfo(data.users_info[key]); parseUserInfo(data.users_info[key]);
} }