[FIX] im_livechat: bad rating=1 not 0 w/ 75d3121c

In 75d3121c9 the bad rating was change from 0 to 1.

This commit update the javascript feedback part so the behavior is the
one expected.

related to opw-1863312
closes #26043
This commit is contained in:
Nicolas Lempereur
2018-07-30 12:45:53 +02:00
parent 7a519520f2
commit ce2fdc02ab
@@ -280,7 +280,7 @@ var Feedback = Widget.extend({
// only display textearea if bad smiley selected
var close_chat = false;
if (this.rating === 0) {
if (this.rating === 1) {
this.$('.o_livechat_rating_reason').show();
} else {
this.$('.o_livechat_rating_reason').hide();