Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ForEachObjectArray.js #675

Open
wants to merge 2 commits into
base: v6
Choose a base branch
from
Open

Conversation

supremesupreme
Copy link
Collaborator

Description

Fixed it in a case where it wasnt looping thought the arrays

Fixes # (issue number / remove this line if no issue is to be referenced)

Type of change

Please check options that describe your Pull Request:

  • Bug fix (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

  • My code follows the style guidelines of this project
  • Any dependent changes have been merged and published in downstream modules

@Faf4a Faf4a enabled auto-merge (squash) October 26, 2024 23:33
Comment on lines +27 to +28
for (const key in d.data.objects[name][property]) {
if (d.data.objects[name][property].hasOwnProperty(key)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need a check before this for loop to see if d.data.objects[name][property] is an iterable else it will error out

@Faf4a
Copy link
Member

Faf4a commented Nov 19, 2024

cc: @supremesupreme resolve requested changes

@Faf4a Faf4a added state: blocked PR needs changes before further review aoi.js this issue/Pr is related to aoi.js labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aoi.js this issue/Pr is related to aoi.js state: blocked PR needs changes before further review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants