Skip to content

Commit

Permalink
Reset PageSearch when clicking in home button
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisLeandro94 committed Jun 19, 2021
1 parent eaff7b7 commit 4936cd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/navbar/navbar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export class NavbarComponent implements OnInit {
returnList() {
this.dataStore.getImages(1);
this.router.navigate(['']);
this.dataStore.PageSearch = 1;
}

paginationR() {
Expand Down

0 comments on commit 4936cd5

Please sign in to comment.