Skip to content

Commit

Permalink
CollectionAsync: remove exсessive code
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-shakhova committed Dec 27, 2024
1 parent c321b78 commit f29a0ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion packages/devextreme/js/__internal/ui/collection/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ declare class Base<
itemData: TItem,
$container: dxElementWrapper,
$itemToReplace?: dxElementWrapper,
uniqueKey?: string,
): dxElementWrapper;
_renderItemFrame(
index: number,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ const CollectionWidget = Widget.inherit({
$element.attr(attributes);
},

_renderItem(index, itemData, $container, $itemToReplace, uniqueKey) {
_renderItem(index, itemData, $container, $itemToReplace) {
const itemIndex = index?.item ?? index;
$container = $container || this._getItemsContainer();
const $itemFrame = this._renderItemFrame(itemIndex, itemData, $container, $itemToReplace);
Expand All @@ -891,7 +891,6 @@ const CollectionWidget = Widget.inherit({
container: getPublicElement($itemContent),
contentClass: this._itemContentClass(),
defaultTemplateName: this.option('itemTemplate'),
uniqueKey,
});

const that = this;
Expand Down

0 comments on commit f29a0ed

Please sign in to comment.