BUG: You need to check for user_data.address before accessing its properties
sahava opened this issue · 1 comments
sahava commented
If user_data.address
doesn't exist in the eventModel, then this line (and all subsequent attempts to access user_data.address
will throw an error):
So it should be something like:
(event_model.user_data != null && event_model.user_data.address != null ? ...