Skip to content

Commit

Permalink
dont reset paginator page when reloading; fix #SNRGY-3234
Browse files Browse the repository at this point in the history
  • Loading branch information
hahahannes committed Apr 12, 2024
1 parent 82b1989 commit 398f6df
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ export class DeviceGroupsComponent implements OnInit, OnDestroy, AfterViewInit {

public reload() {
this.offset = 0;
this.pageSize = 20;
this.ready = false;
this.selectionClear();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@ export class DeviceInstancesComponent implements OnInit, AfterViewInit {
reload() {
this.offset = 0;
this.ready = false;
this.pageSize = 20;
this.selectionClear();
this.usage = [];

Expand Down
1 change: 0 additions & 1 deletion src/app/modules/devices/locations/locations.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ export class LocationsComponent implements OnInit, OnDestroy, AfterViewInit {

reload() {
this.offset = 0;
this.pageSize = 20;
this.ready = false;
this.selectionClear();

Expand Down
1 change: 0 additions & 1 deletion src/app/modules/devices/networks/networks.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ export class NetworksComponent implements OnInit, OnDestroy {

reload() {
this.offset = 0;
this.pageSize = 20;
this.ready = false;
this.selectionClear();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ export class ImportInstancesComponent implements OnInit {

reload() {
this.offset = 0;
this.pageSize = 20;
this.selectionClear();
this.dataReady = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ export class ImportTypesComponent implements OnInit {

reload() {
this.offset = 0;
this.pageSize = 20;
this.dataReady = false;
this.selectionClear();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ export class CharacteristicsComponent implements OnInit, OnDestroy {
reload() {
this.ready = false;
this.offset = 0;
this.pageSize = 20;
this.selectionClear();

forkJoin([this.getCharacteristics(), this.getTotalCounts()]).subscribe(_ => {
Expand Down
1 change: 0 additions & 1 deletion src/app/modules/metadata/concepts/concepts.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ export class ConceptsComponent implements OnInit, OnDestroy {

reload() {
this.ready = false;
this.pageSize = 20;
this.offset = 0;
this.selectionClear();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ export class DeviceClassesComponent implements OnInit, OnDestroy {

reload() {
this.offset = 0;
this.pageSize = 20;
this.ready = false;
this.selectionClear();

Expand Down

0 comments on commit 398f6df

Please sign in to comment.