Skip to content

Commit 63537ed

Browse files
committed
fix _dataSource method
1 parent f91f269 commit 63537ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/devextreme/js/__internal/grids/tree_list/data_source_adapter/m_data_source_adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ export class DataSourceAdapterTreeList extends DataSourceAdapter {
381381
if (options.operationId !== undefined
382382
&& this._lastOperationId !== undefined
383383
&& options.operationId !== this._lastOperationId) {
384-
this._dataSource.close(options.operationId); // Cancel the request
384+
this._dataSource.cancel(options.operationId); // Cancel the request
385385
// @ts-expect-error
386386
const rejectedDeferred = new Deferred();
387387
rejectedDeferred.reject();

0 commit comments

Comments
 (0)