summaryrefslogtreecommitdiff
path: root/addons/gamification/static/src
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2019-08-20 08:48:15 +0000
committerAlexandre Kühn <aku@odoo.com>2019-08-28 08:50:56 +0000
commit6f6445be8cdd52dbd99b958bfd9c1a54540484f9 (patch)
tree527e1c94b71bf2c9b7ba91245c8543593e17b665 /addons/gamification/static/src
parentd431f94c759f9811c640d81a274e90301276d001 (diff)
[FIX] gamification, web: Edge does not support obj spread operator
As of August 20 2019, Microsoft Edge partially supports ECMA2018. For instance, `Promise.prototype.finally()` can be used, but the spread operator does not work on objects. Task-ID 2056070
Diffstat (limited to 'addons/gamification/static/src')
-rw-r--r--addons/gamification/static/src/js/crash_manager.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/gamification/static/src/js/crash_manager.js b/addons/gamification/static/src/js/crash_manager.js
index f655f06dec0..806132bc4cd 100644
--- a/addons/gamification/static/src/js/crash_manager.js
+++ b/addons/gamification/static/src/js/crash_manager.js
@@ -11,10 +11,9 @@ CrashManager.include({
* @override
*/
getMapTitle() {
- return {
- ...this._super(...arguments),
+ return Object.assign({}, this._super(...arguments), {
karma_error: _lt("Karma Error"),
- };
+ });
},
});
});