Skip to content

Commit

Permalink
1474 bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul K R committed Jul 5, 2024
1 parent b64bc2a commit a49ef62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</ion-grid>
</div>
</div>
<div *ngIf="!mentors?.length && isLoaded">
<div *ngIf="!mentorsCount && isLoaded">
<app-no-data-found [messageHeader]="'NO_MENTORS_AVAILABLE'"> </app-no-data-found>
</div>
<ion-infinite-scroll #infinitescroll [disabled]="mentors.length==0" (ionInfinite)="loadMore($event)">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export class MentorDirectoryPage implements OnInit {

async ionViewWillEnter() {
this.page = 1;
this.mentors = [];
this.getMentors();
this.gotToTop();
}
Expand Down

0 comments on commit a49ef62

Please sign in to comment.