Error Cannot destructure property ‘idEvento’

  angular, typescript

Hi I am trying to show a modal when I press a button but I get the following error "ERROR TypeError: Cannot destructure property ‘event id’ of ‘ (…)’ as it is undefined." What could be happening?

enter image description here

this is the code
enter image description here

Source: Angular Questions

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.