I have a function that subscribes to a API call that returns data. This works as in the subscribe function I do a console.log and the data displays.
The problem is, in my HTML, I’m using an ionic card and it’s mapped to the data but the data is not being displayed - presumably because the card is displayed before the data is returned.
Is there a way to update the card from within the subscribe so it displays the data AFTER the subscribe returns the data?