From 0b5e50aade9007685794684389883c6422bfdb39 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 3 Jul 2018 11:38:43 +0200 Subject: [PATCH] Fix build issue --- assets/js/components/account/export/worker.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/js/components/account/export/worker.js b/assets/js/components/account/export/worker.js index 8f017cfe..d19225e6 100644 --- a/assets/js/components/account/export/worker.js +++ b/assets/js/components/account/export/worker.js @@ -211,15 +211,15 @@ ComunicWeb.components.account.export.worker = { data.all_conversation_messages.forEach(parseConversationMessage); //* All from conversations - for (const num in data.conversations_messages) { + for (var num in data.conversations_messages) { if (data.conversations_messages.hasOwnProperty(num)) { - const conversation = data.conversations_messages[num]; + var conversation = data.conversations_messages[num]; conversation.forEach(parseConversationMessage); } } //Related user information - for (const key in data.users_info) { + for (var key in data.users_info) { if (data.users_info.hasOwnProperty(key)) { parseUserInfo(data.users_info[key]); }