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

Make sure non-normalized data is passed correctly #2510

Merged
merged 2 commits into from
Oct 5, 2023
Merged

Conversation

Iinh
Copy link
Contributor

@Iinh Iinh commented Oct 5, 2023

Fixing an error detected during pairing yesterday where non-normalized data was not passed down correctly after changing the dropdown option.

});
// use transformed data for Android metrics
if (data[0].transformedPercentiles) {
if (data[data.length - 1].transformedPercentiles) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we use lengh - 1, instead of 0, because non-normalized data is added later. so the first entry of data array usually doesn't have non-normalized data available

@Iinh Iinh requested a review from edugfilho October 5, 2023 17:52
Copy link
Collaborator

@edugfilho edugfilho left a comment

Choose a reason for hiding this comment

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

lgtm. Thank you!

@edugfilho edugfilho merged commit 5263a2e into main Oct 5, 2023
@edugfilho edugfilho deleted the fix-data-issue branch October 5, 2023 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants