Etemplate: Fix auto-refresh mixed up new rows

This commit is contained in:
nathangray 2020-10-22 13:40:19 -06:00 committed by Ralf Becker
parent 0b0aae31a3
commit 2b12ec47b4
2 changed files with 2 additions and 2 deletions

View File

@ -728,7 +728,7 @@ var et2_dataview_controller = /** @class */ (function () {
entry.idx = newIdx;
newMap[newIdx] = entry;
}
else {
else if (newMap[newIdx] !== this._indexMap[key]) {
// Make sure the old entry gets invalidated
entry.idx = null;
entry.row = null;

View File

@ -1007,7 +1007,7 @@ export class et2_dataview_controller
entry.idx = newIdx;
newMap[newIdx] = entry;
}
else
else if(newMap[newIdx]!==this._indexMap[key])
{
// Make sure the old entry gets invalidated
entry.idx = null;