mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-03 12:37:56 +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(
|
const [ratingObject = {}] = CSAT_RATINGS.filter(
|
||||||
rating => rating.value === giveRating
|
rating => rating.value === giveRating
|
||||||
);
|
);
|
||||||
|
|
||||||
return h(
|
return h(
|
||||||
'span',
|
'span',
|
||||||
{
|
{
|
||||||
@@ -110,7 +109,13 @@ const columns = [
|
|||||||
columnHelper.accessor('conversationId', {
|
columnHelper.accessor('conversationId', {
|
||||||
header: '',
|
header: '',
|
||||||
width: 100,
|
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