mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 12:08:01 +00:00
fix: Force re-render the CSAT component when data changes (#11643)
This commit is contained in:
@@ -90,7 +90,6 @@ const columns = [
|
||||
const [ratingObject = {}] = CSAT_RATINGS.filter(
|
||||
rating => rating.value === giveRating
|
||||
);
|
||||
|
||||
return h(
|
||||
'span',
|
||||
{
|
||||
@@ -110,7 +109,13 @@ const columns = [
|
||||
columnHelper.accessor('conversationId', {
|
||||
header: '',
|
||||
width: 100,
|
||||
cell: cellProps => h(ConversationCell, cellProps),
|
||||
cell: cellProps => {
|
||||
const { row } = cellProps;
|
||||
return h(ConversationCell, {
|
||||
key: row.original.conversationId,
|
||||
row,
|
||||
});
|
||||
},
|
||||
}),
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user