store new gap entry on update so we can paginate again

This commit is contained in:
Bruno Windels 2019-06-16 16:47:56 +02:00
parent cf39a57aa1
commit d34a26f0da
2 changed files with 4 additions and 2 deletions

View File

@ -27,7 +27,8 @@ export default class GapTile extends SimpleTile {
} }
} }
updateEntry(entry) { updateEntry(entry, params) {
super.updateEntry(entry, params);
if (!entry.isGap) { if (!entry.isGap) {
return UpdateAction.Remove(); return UpdateAction.Remove();
} else { } else {

View File

@ -41,7 +41,8 @@ export default class SimpleTile {
} }
// update received for already included (falls within sort keys) entry // update received for already included (falls within sort keys) entry
updateEntry() { updateEntry(entry) {
this._entry = entry;
return UpdateAction.Nothing(); return UpdateAction.Nothing();
} }