I am currently using the Modal to display all the emails from a 3rd party that I retrieve using an API call. I have added a filter to display the Incoming and Outgoing emails using this method.
I want all the emails to be displayed when the pop-up modal is opened so I added an onload function on the body of the modal.html
All emails are showing up on the 1st instance when the pop-up modal was opened
but it will not show once the pop-up modal was opened again after it was closed the 1st time. I have 3 buttons that when clicked will open the modal so I am not sure if this is causing the issue.
I have attached screenshots of my modal.html and modal.js.
Let me know if you would like to see my code. Looking forward to any response.
Please sign in to leave a comment.