Skip to content

Commit 37f57c1

Browse files
committed
remove query params change check
1 parent 323b1d8 commit 37f57c1

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

projects/fusio-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-fusio-sdk",
3-
"version": "7.0.5",
3+
"version": "7.0.6",
44
"description": "SDK to integrate Fusio into an Angular app",
55
"keywords": [
66
"Fusio",

projects/fusio-sdk/src/lib/abstract/list.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ export abstract class List<T> implements OnInit {
4646
search = params['search'];
4747
}
4848

49-
if (!this.hasQueryParamsChange(page, search)) {
50-
return;
51-
}
52-
5349
this.page.set(page || 1);
5450
this.search.set(search || '');
5551

@@ -75,10 +71,6 @@ export abstract class List<T> implements OnInit {
7571
}
7672

7773
async doSearch(page?: number, search?: string) {
78-
if (!this.hasQueryParamsChange(page, search)) {
79-
return;
80-
}
81-
8274
this.getService().onReady().then((service) => {
8375
this.router.navigate(service.getLink(), {
8476
queryParams: {
@@ -132,10 +124,6 @@ export abstract class List<T> implements OnInit {
132124
});
133125
}
134126

135-
protected hasQueryParamsChange(page?: number, search?: string): boolean {
136-
return this.page() !== page || this.search() !== search;
137-
}
138-
139127
protected abstract getService(): Service<T>;
140128

141129
protected onLoad(): void

0 commit comments

Comments
 (0)