After checking the console, I noticed my result displays as shown below. However, when attempting to access this data in my view, it seems to be coming up empty. Could it be that I am not accessing my data correctly? Any assistance would be appreciated.
Results
0:
age: 55
name: "Client"
number: "34034000"
file.ts
export class MyPage{
this.crudProvider.getPosts().then((data) => {
this.mydata = data;
console.log(this.mydata)
})
}
HTML
<ion-list *ngFor=" let item of mydata" class="main-list" no-margin>
<h2>{{item.age}} </h2>
</ion-list>