bugfixing
This commit is contained in:
parent
f5071f3d7e
commit
6fa210ddff
@ -390,15 +390,16 @@ function handleViewData(optionData) {
|
||||
previousCallVolume = displayCallVolume ?? 0;
|
||||
if(mode === true) {
|
||||
try {
|
||||
let newData = JSON.parse(event.data);
|
||||
const newData = JSON.parse(event.data);
|
||||
if(rawData?.length !== newData?.length) {
|
||||
newIncomingData = true;
|
||||
}
|
||||
newData = newData?.forEach((item) => {
|
||||
item.dte = daysLeft(item?.date_expiration);
|
||||
});
|
||||
|
||||
rawData = [...newData];
|
||||
|
||||
rawData?.forEach((item) => {
|
||||
item.dte = daysLeft(item?.date_expiration);
|
||||
});
|
||||
|
||||
if(ruleOfList?.length !== 0 || filterQuery?.length !== 0) {
|
||||
shouldLoadWorker.set(true)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user