From 2381456411efa735d6ae94848d5e0d70296411b5 Mon Sep 17 00:00:00 2001 From: Sergey Vinogradov Date: Tue, 5 Mar 2024 17:53:48 +0200 Subject: [PATCH] refactor: remove obsolete check ensuring index < flatSize --- packages/grid/src/vaadin-grid-data-provider-mixin.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/grid/src/vaadin-grid-data-provider-mixin.js b/packages/grid/src/vaadin-grid-data-provider-mixin.js index 5532f87c7a..53320e31b3 100644 --- a/packages/grid/src/vaadin-grid-data-provider-mixin.js +++ b/packages/grid/src/vaadin-grid-data-provider-mixin.js @@ -206,10 +206,6 @@ export const DataProviderMixin = (superClass) => * @protected */ _getItem(index, el) { - if (index >= this._flatSize) { - return; - } - el.index = index; const { item } = this._dataProviderController.getFlatIndexContext(index);