diff --git a/uui-core/src/data/processing/ArrayDataSource.tsx b/uui-core/src/data/processing/ArrayDataSource.tsx index c02af7fbe0..1d6c16f204 100644 --- a/uui-core/src/data/processing/ArrayDataSource.tsx +++ b/uui-core/src/data/processing/ArrayDataSource.tsx @@ -20,16 +20,11 @@ export class ArrayDataSource extends Base this.setProps(props); const params = { getId: this.getId, complexIds: props.complexIds }; this.itemsStatusMap = newMap(params); + this.itemsStorage = new ItemsStorage({ items: [], params: params }); } public setProps(props: ArrayDataSourceProps) { this.props = props; - if (!this.itemsStorage) { - this.itemsStorage = new ItemsStorage({ - items: [], - params: { getId: this.getId, complexIds: this.props.complexIds }, - }); - } } public getById = (id: TId): TItem | undefined => {