In file Comment-Location.component.html, I use ngIf and ngFor to populate the JSON that I get back from the back end but it keeps giving me the error that the "comment.field of undefined". I have been googling it but it didn't seems like most people who ever had that problem is caused by syntax but I have try looking at everything line by line and I believe that I have declared everything correctly. I tried comment out the subscribe function in the ts file and the ngIf did its job by not showing the
at all so idk where to go from here.
The Call function works also because I got an object back
Please let me know where should i go from here,
Thank you
github: https://github.com/hungmuha/yokel
In file Comment-Location.component.html, I use ngIf and ngFor to populate the JSON that I get back from the back end but it keeps giving me the error that the "comment.field of undefined". I have been googling it but it didn't seems like most people who ever had that problem is caused by syntax but I have try looking at everything line by line and I believe that I have declared everything correctly. I tried comment out the subscribe function in the ts file and the ngIf did its job by not showing the
The Call function works also because I got an object back
Please let me know where should i go from here,
Thank you
github: https://github.com/hungmuha/yokel