You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a model has an empty array as an attribute, the attributes() function will ignore it and it will be undefined in the returned object. I believe the issue is here, where it only sets the property if there are items in the array.
The text was updated successfully, but these errors were encountered:
If a model has an empty array as an attribute, the
attributes()
function will ignore it and it will be undefined in the returned object. I believe the issue is here, where it only sets the property if there are items in the array.The text was updated successfully, but these errors were encountered: