File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed
Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments