removed debugger:
This commit is contained in:
parent
141c93217c
commit
c8878ae58f
@ -66,7 +66,7 @@ export class DataSource<TModel> implements IDataSource<TModel>
|
|||||||
protected _initCriteria() {
|
protected _initCriteria() {
|
||||||
if (!this.options.defaultCriteria)
|
if (!this.options.defaultCriteria)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
const copy: IQueryCriteria = JSON.parse(JSON.stringify(this.options.defaultCriteria));
|
const copy: IQueryCriteria = JSON.parse(JSON.stringify(this.options.defaultCriteria));
|
||||||
this._criteria.page = copy.page || this._criteria.page;
|
this._criteria.page = copy.page || this._criteria.page;
|
||||||
this._criteria.pageSize = copy.pageSize || this._criteria.pageSize;
|
this._criteria.pageSize = copy.pageSize || this._criteria.pageSize;
|
||||||
@ -176,7 +176,7 @@ export class DataSource<TModel> implements IDataSource<TModel>
|
|||||||
return this.options.transport.query.adapter.handle(query);
|
return this.options.transport.query.adapter.handle(query);
|
||||||
}
|
}
|
||||||
|
|
||||||
refresh() {debugger
|
refresh() {
|
||||||
return this._query().subscribe(
|
return this._query().subscribe(
|
||||||
res => {},
|
res => {},
|
||||||
err => {}
|
err => {}
|
||||||
|
Loading…
Reference in New Issue
Block a user