[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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user