[FIX] im_livechat: smiley feedback correspond to choice

When a user on website sends livechat feedbacks:

- Good -> send an average smiley 😐
- Average -> send ?? instead of smiley

This is because in e4a4ffb value of good (😊) was changed from 10 to 5,
and value for average (😐) was changed from 5 to 3, but it was not
reflected in one part of the code.

opw-2447246

closes odoo/odoo#65338

X-original-commit: 45ea88e58d2a834da4c5ad8ff656481ac1f9ab5d
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
This commit is contained in:
Nicolas Lempereur
2021-02-01 13:39:29 +00:00
parent 7087a168b7
commit 7dc1552cf5
@@ -22,8 +22,8 @@ var LIVECHAT_COOKIE_HISTORY = 'im_livechat_history';
var HISTORY_LIMIT = 15;
var RATING_TO_EMOJI = {
"10": "😊",
"5": "😐",
"5": "😊",
"3": "😐",
"1": "😞"
};