Skip to content

Conversation

driusan
Copy link
Collaborator

@driusan driusan commented Oct 16, 2025

This fixes 2 problems which were preventing the Imaging QC summary widget on the candidate_profile page from loading correctly:

  1. The type of the VisitMap prop was incorrectly set to "array". It is an object. This was causing a javascript error.
  2. iterator_to_array was called after it had already been iterated on in a foreach loop, resulting in the iterator_to_array call returning an empty array. However, the result of the loop was not used anywhere, so it is simply removed.

…canddiate_profile

This fixes 2 problems which were preventing the Imaging QC summary widget on the
candidate_profile page from loading correctly:

1. The type of the VisitMap prop was incorrectly set to "array". It is an object
   This was causing a javascript error.
2. iterator_to_array was called after it had already been iterated on in a foreach
   loop, resulting in the iterator_to_array returning an empty array. However, the
   result of the loop was not used anywhere, so it is simply removed.
@github-actions github-actions bot added Language: PHP PR or issue that update PHP code Language: Javascript PR or issue that update Javascript code Module: imaging_browser PR or issue related to imaging_browser module labels Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language: Javascript PR or issue that update Javascript code Language: PHP PR or issue that update PHP code Module: imaging_browser PR or issue related to imaging_browser module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant