Skip to main content
added 149 characters in body
Source Link
micronyks
  • 55.6k
  • 17
  • 122
  • 166

As folder contains array it should be there with *ngFor. ?. operator will do the binding when folder array is available for the binding.

NOTE: ?. operator should be used when you are working with async call. For static data it is not required.

It should be,

*ngFor="let folder of status.recfolders?.folder"

It should be,

*ngFor="let folder of status.recfolders.folder"

As folder contains array it should be there with *ngFor. ?. operator will do the binding when folder array is available for the binding.

NOTE: ?. operator should be used when you are working with async call. For static data it is not required.

It should be,

*ngFor="let folder of status.recfolders?.folder"
Source Link
micronyks
  • 55.6k
  • 17
  • 122
  • 166

It should be,

*ngFor="let folder of status.recfolders.folder"